ZH-CN/aclGroupGetName
Jump to navigation
Jump to search
此函数用于获取给定ACL组的名称.
语法
string aclGroupGetName ( aclgroup aclGroup )
OOP Syntax Help! I don't understand this!
- Method: aclgroup:getName(...)
- Variable: .name
必填参数
- aclGroup: 要获取其名称的ACL组
返回值
如果成功,则以字符串形式返回给定ACL组的名称;如果ACL组无效或由于其他原因失败,则返回“false”或“nil”.
示例
这个例子输出到控制台,"管理员已经准备好监视:)"
addEventHandler("onResourceStart", resourceRoot, function() outputConsole(aclGroupGetName(aclGetGroup("Admin")).."'s are ready to watch :)",root) end)
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