Permission
Assembly: uMod.Core.dll
Inheritance ObjectLibrary Permission
Implements ILibrary, ISingleton
Summary
A library providing a unified permissions system
Constructors
Name | Summary |
|---|---|
Permission ( |
Properties
Name | Summary |
|---|---|
IsLoaded |
Methods
Name | Summary |
|---|---|
Set the group to which the specified player belongs | |
CleanUp () | Cleans invalid user ID entries |
Creates the specified group | |
Export ( | Exports user/group data to json |
GetGroupParent ( | Gets the parent of the specified group |
Returns the parent group that the specified permission belongs to | |
Returns the permissions which the specified group has, with optional transversing of parent groups | |
GetGroupRank ( | Returns the rank of the specified group |
GetGroups () | Returns existing groups |
GetGroupTitle ( | Returns the title of the specified group |
GetPermissionGroups ( | |
GetPermissions () | Returns the permissions which are registered |
GetPermissions ( | |
GetPermissionUsers ( | |
GetUserGroups ( | Returns the group to which the specified player belongs |
Returns the group that a specified player permission is inherited from | |
GetUserPermissions ( | Returns the permissions which the specified player has |
GetUsersInGroup ( | Returns users in that group |
Grant the specified permission to the specified group | |
Grants the specified permission to the specified player | |
GroupExists ( | Returns if the specified group exists or not |
Returns if the specified group has the specified permission or not | |
Returns if the specified group has the specified permission or not | |
Checks if specified permission belongs to group or parent group | |
Returns if the specified player permission is inherited from a group | |
Migrate permissions from one group to another | |
Returns if the specified permission exists or not | |
Registers the specified permission | |
Register user ID validation | |
RemoveGroup ( | Removes the specified group |
Set the group to which the specified player belongs | |
Rename group | |
Revokes the specified permission from the specified player | |
Revokes the specified permission from the specified player | |
SaveData () | Saves all permissions data to the data files |
SaveGroups () | Saves groups permissions data to the data file |
SaveUsers () | Saves users permissions data to the data file |
Sets the parent of the specified group | |
Sets the rank of the specified group | |
Sets the title of the specified group | |
Unregisters the specified permission | |
Updates the player name | |
UserExists ( | Determines if the specified player exists |
UserHasAnyGroup ( | Check if user has a group |
Get if the player belongs to given group | |
Returns if the specified player has the specified permission | |
UserIdValid ( | Determines if the specified player ID is valid |