IsObjectInACLGroup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
==Example== | ==Example== | ||
<section name="Server" class="server" show="true"> | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
--TODO | --TODO | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | |||
==See Also== | ==See Also== | ||
{{ACL_functions}} | {{ACL_functions}} | ||
[[Category:Needs_Example]] | [[Category:Needs_Example]] |
Revision as of 22:25, 30 March 2009
This function is used to determine if an object is in a group.
Syntax
bool isObjectInACLGroup ( string theObject, string theGroup )
Required Arguments
- theObject: the name of the object to check. Examples: "resource.ctf", "user.Jim".
- theGroup: the name of the group to look in. Example: "Admin"
Returns
Returns true if the object is in the specified group, false otherwise.
Example
Click to collapse [-]
Server--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