API SetGuildBankTabPermissions

From Wowpedia
Jump to: navigation, search

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