AclGetRight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
<!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc --> | <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc --> | ||
{{ACL_functions}} | {{ACL_functions}} | ||
[[Category: | [[Category:Needs_Example]] |
Revision as of 13:20, 26 November 2007
This function returns whether the access for the given right is set to true or false in the ACL.
Syntax
bool aclGetRight ( acl theAcl, string rightName )
Required Arguments
- theAcl: The ACL to get the right from
- rightName: The right name to return the access value of.
Returns
Returns true or false if the ACL gives access or not to the given function. Returns nil if it failed for some reasno, ie. invalid ACL or the right name does not exist.
Example
This example does...
--TODO
See Also
- aclCreate
- aclCreateGroup
- aclDestroy
- aclDestroyGroup
- aclGet
- aclGetGroup
- aclGetName
- aclGetRight
- aclGroupAddACL
- aclGroupAddObject
- aclGroupGetName
- aclGroupList
- aclGroupListACL
- aclGroupListObjects
- aclGroupRemoveACL
- aclGroupRemoveObject
- aclList
- aclListRights
- aclReload
- aclRemoveRight
- aclSave
- aclSetRight
- hasObjectPermissionTo
- isObjectInACLGroup