Class Permission
Granting the right to perform some operation on some class of objects.
public sealed class Permission
- Inheritance
-
Permission
- Inherited Members
Constructors
Permission(PermissionType, string?)
public Permission(PermissionType action, string? @object)
Parameters
actionPermissionTypeobjectstring
Fields
Action
public readonly PermissionType Action
Field Value
Admin
public static readonly Permission Admin
Field Value
AllFlags
public static readonly Permission AllFlags
Field Value
AllTenants
public static readonly Permission AllTenants
Field Value
ExportAll
public static readonly Permission ExportAll
Field Value
Object
public readonly string? Object
Field Value
ReadAll
public static readonly Permission ReadAll
Field Value
WriteAll
public static readonly Permission WriteAll
Field Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.