Class Permission
Specifies a specific application permission as a resource-operation pair. This represents the permission to perform the specified operation on the specified resource type.
Inherited Members
Namespace: Quantellia.WMServer.Auth
Assembly: WMServer.dll
Syntax
public class Permission : DbDomainValue
Constructors
Permission(string, string, string)
Constructor that initializes the Permission object
Declaration
public Permission(string resourceName, string operation, string filter)
Parameters
Type | Name | Description |
---|---|---|
string | resourceName | |
string | operation | |
string | filter |
Fields
Group
Filter value indicating permission only applies to records owned by the user making the request.
Declaration
public const string? Group = "Group"
Field Value
Type | Description |
---|---|
string |
Organization
Filter value indicating permission only applies to records owned by the user making the request.
Declaration
public const string? Organization = "Organization"
Field Value
Type | Description |
---|---|
string |
Self
Filter value indicating permission only applies to records owned by the user making the request.
Declaration
public const string? Self = "Self"
Field Value
Type | Description |
---|---|
string |
Properties
Filter
Limits the access covered by this permission by user, group, or organization.
Declaration
public string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Must be one of the following values:
Operation
The operation being requested on the requested Resource. May be null if all operations have the same access rights.
Declaration
public string Operation { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceName
The name of the resource to which access is being requested.
Declaration
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string |