CertSrvSecurityDescriptorAccessRuleFactory Method |
Initializes a new instance of the
CertSrvAccessRule class that represents a new access
control rule for the specified user, with the specified access rights, access control, and flags.
Namespace:
SysadminsLV.PKI.Security.AccessControl
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public override AccessRule AccessRuleFactory(
IdentityReference identityReference,
int accessMask,
bool isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AccessControlType type
)
Public Overrides Function AccessRuleFactory (
identityReference As IdentityReference,
accessMask As Integer,
isInherited As Boolean,
inheritanceFlags As InheritanceFlags,
propagationFlags As PropagationFlags,
type As AccessControlType
) As AccessRule
public:
virtual AccessRule^ AccessRuleFactory(
IdentityReference^ identityReference,
int accessMask,
bool isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AccessControlType type
) override
abstract AccessRuleFactory :
identityReference : IdentityReference *
accessMask : int *
isInherited : bool *
inheritanceFlags : InheritanceFlags *
propagationFlags : PropagationFlags *
type : AccessControlType -> AccessRule
override AccessRuleFactory :
identityReference : IdentityReference *
accessMask : int *
isInherited : bool *
inheritanceFlags : InheritanceFlags *
propagationFlags : PropagationFlags *
type : AccessControlType -> AccessRule
Parameters
- identityReference
- Type: System.Security.PrincipalIdentityReference
An IdentityReference object that represents a user account.
- accessMask
- Type: SystemInt32
An integer that specifies an access type.
- isInherited
- Type: SystemBoolean
True if the access rule is inherited; otherwise, False. This parameter
is not used and is always set to False.
- inheritanceFlags
- Type: System.Security.AccessControlInheritanceFlags
One of the InheritanceFlags values that specifies how to propagate access masks to child
objects. This parameter is not used and is always set to None.
- propagationFlags
- Type: System.Security.AccessControlPropagationFlags
One of the PropagationFlags values that specifies how to propagate Access Control Entries
(ACEs) to child objects. This parameter is not used and is always set to None.
- type
- Type: System.Security.AccessControlAccessControlType
One of the AccessControlType values that specifies whether access is allowed or denied.
Return Value
Type:
AccessRule
A new
CertSrvAccessRule object that represents a new access control rule
for the specified user, with the specified access rights, access control, and flags.
See Also