Class Policy

Describes a policy.

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

Properties

CreatedBy

Gets the id of the user who created this resource. null if it has not been created.

Declaration
RequestResponse
public long? CreatedBy { get; set; }
Property Value
TypeDescription
long

CreatedOn

Gets the date on which this resource was created. null if it has not been created.

Declaration
RequestResponse
public DateTime? CreatedOn { get; set; }
Property Value
TypeDescription
DateTime

MemberGroupSecurity

Gets a list of member group policies (never null).

Declaration
RequestResponse
public IList<IMemberPolicy> MemberGroupSecurity { get; set; }
Property Value
TypeDescription
IList<>IMemberPolicy

MemberSecurity

Gets a list of member policies (never null).

Declaration
RequestResponse
public IList<IMemberPolicy> MemberSecurity { get; set; }
Property Value
TypeDescription
IList<>IMemberPolicy

ModifiedBy

Gets the id of the user who modified this resource. null if it has not been created.

Declaration
RequestResponse
public long? ModifiedBy { get; set; }
Property Value
TypeDescription
long

ModifiedOn

Gets the date on which this resource was modified. null if it has not been created.

Declaration
RequestResponse
public DateTime? ModifiedOn { get; set; }
Property Value
TypeDescription
DateTime

Rules

Gets a list of rules (never null).

Declaration
RequestResponse
public IList<IRule> Rules { get; set; }
Property Value
TypeDescription
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
RequestResponse
public abstract long? GetRelatedId()
Returns
TypeDescription
long

The id.

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,