Class PermissionTypeInfo
Permission meta information.
Inheritance
System.Object
PermissionTypeInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.Security
Assembly: TimeCockpit.Data.dll
Syntax
public class PermissionTypeInfo
Constructors
PermissionTypeInfo(PermissionType, PermissionTarget)
Initializes a new instance of the PermissionTypeInfo class.
Declaration
public PermissionTypeInfo(PermissionType identifier, PermissionTarget target)
Parameters
Type | Name | Description |
---|---|---|
PermissionType | identifier | Name/identifier of the permission. |
PermissionTarget | target | Target of the permission. |
Properties
Identifier
Gets the permission name/identifier.
Declaration
public PermissionType Identifier { get; }
Property Value
Type | Description |
---|---|
PermissionType |
Target
Gets the permission target.
Declaration
public PermissionTarget Target { get; }
Property Value
Type | Description |
---|---|
PermissionTarget |
Methods
GetInformation()
Gets the default permission meta information.
Declaration
public static IEnumerable<PermissionTypeInfo> GetInformation()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<PermissionTypeInfo> | The permission meta information. |