Interface IPolicy

Describes a policy.

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsPolicies
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public interface IPolicy : IResource

Properties

MemberGroupSecurity

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

Declaration
RequestResponse

IList<IMemberPolicy> MemberGroupSecurity { get; }
Property Value
TypeDescription
IList<>IMemberPolicy

MemberSecurity

Gets a list of member policies (never null).

Declaration
RequestResponse

IList<IMemberPolicy> MemberSecurity { get; }
Property Value
TypeDescription
IList<>IMemberPolicy

Rules

Gets a list of rules (never null).

Declaration
RequestResponse

IList<IRule> Rules { get; }
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

long? GetRelatedId()
Returns
TypeDescription
long

The id.

Do you have some feedback for us?

If you have suggestions for improving this article,