Interface IPolicy
Version: 4.0
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
Type | Description |
---|---|
IList<>IMemberPolicy |
MemberSecurity
Gets a list of member policies (never null).
Declaration
RequestResponse
IList<IMemberPolicy> MemberSecurity { get; }
Property Value
Type | Description |
---|---|
IList<>IMemberPolicy |
Rules
Gets a list of rules (never null).
Declaration
RequestResponse
IList<IRule> Rules { get; }
Property Value
Type | Description |
---|---|
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
Type | Description |
---|---|
long |
The id. |