Class Policy
Describes a policy.
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsPolicies
Assembly: Stylelabs.M.Sdk.dll
Syntax
Properties
CreatedBy
Gets the id of the user who created this resource. null if it has not been created.
Declaration
Property Value
| Type | Description |
|---|---|
| long |
CreatedOn
Gets the date on which this resource was created. null if it has not been created.
Declaration
Property Value
| Type | Description |
|---|---|
| DateTime |
MemberGroupSecurity
Gets a list of member group policies (never null).
Declaration
Property Value
| Type | Description |
|---|---|
| IList<>IMemberPolicy |
MemberSecurity
Gets a list of member policies (never null).
Declaration
Property Value
| Type | Description |
|---|---|
| IList<>IMemberPolicy |
ModifiedBy
Gets the id of the user who modified this resource. null if it has not been created.
Declaration
Property Value
| Type | Description |
|---|---|
| long |
ModifiedOn
Gets the date on which this resource was modified. null if it has not been created.
Declaration
Property Value
| Type | Description |
|---|---|
| DateTime |
Rules
Gets a list of rules (never null).
Declaration
Property Value
| Type | Description |
|---|---|
| IList<>IRule |
Methods
GetRelatedId()
Gets the id of entity this policy applies to. This depends on the implementation. E.g. for IUserPolicy it will return UserId.
Declaration
Returns
| Type | Description |
|---|---|
| long |
The id. |