public CertificationAuthorityAuditRule( IdentityReference identity, CertificationAuthorityRights accessMask, AuditFlags flags) : base(identity, AccessMaskFromRights(accessMask), false, InheritanceFlags.None, PropagationFlags.None, flags) { }
/// <param name="identity"> /// An IdentityReference object that encapsulates a reference to a user account. /// </param> /// <param name="accessMask"> /// One of the <see cref="CertificationAuthorityRights"/> values that specifies the type of operation /// associated with the access rule. /// </param> /// <param name="type"> /// One of the <see cref="AccessControlType"/> values that specifies whether to allow or deny the operation. /// </param> public CertificationAuthorityAccessRule( IdentityReference identity, CertificationAuthorityRights accessMask, AccessControlType type) : base(identity, AccessMaskFromRights(accessMask), false, InheritanceFlags.None, PropagationFlags.None, type) { }
static Int32 AccessMaskFromRights(CertificationAuthorityRights rights) { return((Int32)rights); }