1. UserPolicy

Class UserPolicy

Describes a policy.

Inheritance
object
UserPolicy
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsPolicies
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class UserPolicy : Policy, IUserPolicy, IPolicy, IResource

Properties

UserId

Gets the id of the user.

Declaration
public long? UserId { get; set; }
Property Value
TypeDescription
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
public override long? GetRelatedId()
Returns
TypeDescription
long

The id.

Overrides

Implements

If you have suggestions for improving this article, let us know!