1. Policy

Class Policy

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Describes a policy.

Inheritance
System.Object
Policy
Implements
Namespace: Stylelabs.M.Sdk.Models.Policies
Assembly: Stylelabs.M.Sdk.dll
Syntax
public abstract class Policy : object, IPolicy, IResource

Properties

CreatedBy

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

Declaration
public long? CreatedBy { get; set; }
Property Value
TypeDescription
System.Nullable<System.Int64>

CreatedOn

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

Declaration
public DateTime? CreatedOn { get; set; }
Property Value
TypeDescription
System.Nullable<DateTime>

MemberGroupSecurity

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

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

MemberSecurity

Gets a list of member policies (never null).

Declaration
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
public long? ModifiedBy { get; set; }
Property Value
TypeDescription
System.Nullable<System.Int64>

ModifiedOn

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

Declaration
public DateTime? ModifiedOn { get; set; }
Property Value
TypeDescription
System.Nullable<DateTime>

Rules

Gets a list of rules (never null).

Declaration
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
public abstract long? GetRelatedId()
Returns
TypeDescription
System.Nullable<System.Int64>

Implements

この記事を改善するための提案がある場合は、 お知らせください!