OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface IPermissionRole

Represents a permission role.

Inherited Members
IPermissionActor.Id
IPermissionActor.Type
IPermissionActor.DisplayName
IPermissionActor.FullActorName
Namespace: OpenMod.API.Permissions
Assembly: OpenMod.API.dll
Syntax
public interface IPermissionRole : IPermissionActor

Properties

| Improve this Doc View Source

IsAutoAssigned

Defines if the role should be automatically assigned to new users.

Declaration
bool IsAutoAssigned { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Parents

Gets or sets the parents of the role.

Declaration
HashSet<string> Parents { get; }
Property Value
Type Description
HashSet<System.String>
| Improve this Doc View Source

Priority

Gets or sets the priority of this role.

Declaration
int Priority { get; set; }
Property Value
Type Description
System.Int32

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)