1. Stylelabs.M.Sdk.Models.Policies

Class UserPolicy

Describes a policy.

Inheritance

object

Policy

UserPolicy

Implements

IUserPolicy

IPolicy

IResource

Inherited Members

Policy.Rules

Policy.CreatedBy

Policy.CreatedOn

Policy.ModifiedBy

Policy.ModifiedOn

Policy.MemberSecurity

Policy.MemberGroupSecurity

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
longThe id.

Overrides

Policy.GetRelatedId()

Implements

IUserPolicy

IPolicy

IResource

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