WoW API: SetGuildBankTabPermissions

From AddOn Studio
Revision as of 17:55, 12 March 2008 by WoWWiki>Agarac (New page: {{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Edits permissions for a bank tab. <!-- List return values and argume...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < SetGuildBankTabPermissions

Edits permissions for a bank tab.

SetGuildBankTabPermissions(tab, index, enabled);

Arguments

(tab, index, enabled)
tab
Integer - Bank Tab to edit.
index
Integer - Index of Permission to edit.
enabled
Boolean - true or false to Enable or Disable permission.


Details

Use GuildControlSetRank() to set what rank you are editting permissions for. Will not save until GuildControlSaveRank() is called.

Current Known Index Values:
1 = View Tab
2 = Deposit Item