Επεξεργασία

Κοινή χρήση μέσω


AccessRule<T> Constructors

Definition

Initializes a new instance of the AccessRule'1 class by using the specified values.

Overloads

AccessRule<T>(IdentityReference, T, AccessControlType)

Initializes a new instance of the AccessRule'1 class by using the specified values.

AccessRule<T>(String, T, AccessControlType)

Initializes a new instance of the AccessRule'1 class by using the specified values.

AccessRule<T>(IdentityReference, T, InheritanceFlags, PropagationFlags, AccessControlType)

Initializes a new instance of the AccessRule'1 class by using the specified values.

AccessRule<T>(String, T, InheritanceFlags, PropagationFlags, AccessControlType)

Initializes a new instance of the AccessRule'1 class by using the specified values.

AccessRule<T>(IdentityReference, T, AccessControlType)

Initializes a new instance of the AccessRule'1 class by using the specified values.

public:
 AccessRule(System::Security::Principal::IdentityReference ^ identity, T rights, System::Security::AccessControl::AccessControlType type);
public AccessRule (System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.AccessControlType type);
new System.Security.AccessControl.AccessRule<'T (requires 'T : struct)> : System.Security.Principal.IdentityReference * 'T * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.AccessRule<'T (requires 'T : struct)>
Public Sub New (identity As IdentityReference, rights As T, type As AccessControlType)

Parameters

identity
IdentityReference

The identity to which the access rule applies.

rights
T

The rights of the access rule.

type
AccessControlType

The valid access control type.

Applies to

AccessRule<T>(String, T, AccessControlType)

Initializes a new instance of the AccessRule'1 class by using the specified values.

public:
 AccessRule(System::String ^ identity, T rights, System::Security::AccessControl::AccessControlType type);
public AccessRule (string identity, T rights, System.Security.AccessControl.AccessControlType type);
new System.Security.AccessControl.AccessRule<'T (requires 'T : struct)> : string * 'T * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.AccessRule<'T (requires 'T : struct)>
Public Sub New (identity As String, rights As T, type As AccessControlType)

Parameters

identity
String

The identity to which the access rule applies.

rights
T

The rights of the access rule.

type
AccessControlType

The valid access control type.

Applies to

AccessRule<T>(IdentityReference, T, InheritanceFlags, PropagationFlags, AccessControlType)

Initializes a new instance of the AccessRule'1 class by using the specified values.

public:
 AccessRule(System::Security::Principal::IdentityReference ^ identity, T rights, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AccessControlType type);
public AccessRule (System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type);
new System.Security.AccessControl.AccessRule<'T (requires 'T : struct)> : System.Security.Principal.IdentityReference * 'T * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.AccessRule<'T (requires 'T : struct)>
Public Sub New (identity As IdentityReference, rights As T, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, type As AccessControlType)

Parameters

identity
IdentityReference

The identity to which the access rule applies.

rights
T

The rights of the access rule.

inheritanceFlags
InheritanceFlags

The inheritance properties of the access rule.

propagationFlags
PropagationFlags

Whether inherited access rules are automatically propagated. The propagation flags are ignored if inheritanceFlags is set to None.

type
AccessControlType

The valid access control type.

Applies to

AccessRule<T>(String, T, InheritanceFlags, PropagationFlags, AccessControlType)

Initializes a new instance of the AccessRule'1 class by using the specified values.

public:
 AccessRule(System::String ^ identity, T rights, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AccessControlType type);
public AccessRule (string identity, T rights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type);
new System.Security.AccessControl.AccessRule<'T (requires 'T : struct)> : string * 'T * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.AccessRule<'T (requires 'T : struct)>
Public Sub New (identity As String, rights As T, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, type As AccessControlType)

Parameters

identity
String

The identity to which the access rule applies.

rights
T

The rights of the access rule.

inheritanceFlags
InheritanceFlags

The inheritance properties of the access rule.

propagationFlags
PropagationFlags

Whether inherited access rules are automatically propagated. The propagation flags are ignored if inheritanceFlags is set to None.

type
AccessControlType

The valid access control type.

Applies to