Class UserPolicy
Describes a policy.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsPolicies
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class UserPolicy : Policy, IUserPolicy, IPolicy, IResource
Properties
UserId
Gets the id of the user.
Declaration
RequestResponse
public long? UserId { get; set; }
Property Value
Type | Description |
---|---|
long |
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
RequestResponse
public override long? GetRelatedId()
Returns
Type | Description |
---|---|
long |
The id. |