ActiveDirectorySecurity.AccessRuleFactory Método

Definición

Crea un objeto AccessRule.

Sobrecargas

AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)

Crea un objeto AccessRule con los valores especificados.

AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType, Guid, Guid)

Crea un objeto AccessRule con los valores especificados.

AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Crea un objeto AccessRule con los valores especificados.

public:
 override System::Security::AccessControl::AccessRule ^ AccessRuleFactory(System::Security::Principal::IdentityReference ^ identityReference, int accessMask, bool isInherited, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AccessControlType type);
public override sealed System.Security.AccessControl.AccessRule AccessRuleFactory (System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type);
override this.AccessRuleFactory : System.Security.Principal.IdentityReference * int * bool * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.AccessRule
Public Overrides NotOverridable Function AccessRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, type As AccessControlType) As AccessRule

Parámetros

identityReference
IdentityReference

Objeto IdentityReference, como un objeto NTAccount, que se resuelve en un identificador de seguridad (SID).

accessMask
Int32

Máscara de bits Int32 que muestra los privilegios de acceso que se van a utilizar.

isInherited
Boolean

Objeto Boolean que indica si se heredan las ACE. Es true si se heredan las ACE; de lo contrario, es false.

inheritanceFlags
InheritanceFlags

Objeto InheritanceFlags que contiene los marcadores de herencia de un objeto de directorio.

propagationFlags
PropagationFlags

Objeto PropagationFlags que contiene los marcadores de propagación de herencia de un objeto de directorio.

type
AccessControlType

Objeto AccessControlType que contiene el tipo de ACE.

Devoluciones

Objeto AccessRule que corresponde al objeto ActiveDirectorySecurity.

Consulte también

Se aplica a

AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType, Guid, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Crea un objeto AccessRule con los valores especificados.

public:
 override System::Security::AccessControl::AccessRule ^ AccessRuleFactory(System::Security::Principal::IdentityReference ^ identityReference, int accessMask, bool isInherited, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AccessControlType type, Guid objectGuid, Guid inheritedObjectGuid);
public override sealed System.Security.AccessControl.AccessRule AccessRuleFactory (System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type, Guid objectGuid, Guid inheritedObjectGuid);
override this.AccessRuleFactory : System.Security.Principal.IdentityReference * int * bool * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AccessControlType * Guid * Guid -> System.Security.AccessControl.AccessRule
Public Overrides NotOverridable Function AccessRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, type As AccessControlType, objectGuid As Guid, inheritedObjectGuid As Guid) As AccessRule

Parámetros

identityReference
IdentityReference

Objeto IdentityReference, como un objeto NTAccount, que se resuelve en un identificador de seguridad (SID).

accessMask
Int32

Máscara de bits Int32 que muestra los privilegios de acceso que se van a utilizar.

isInherited
Boolean

Objeto Boolean que indica si se heredan las ACE. Es true si se heredan las ACE; de lo contrario, es false.

inheritanceFlags
InheritanceFlags

Objeto InheritanceFlags que contiene los marcadores de herencia de un objeto de directorio.

propagationFlags
PropagationFlags

Objeto PropagationFlags que contiene los marcadores de propagación de herencia de un objeto de directorio.

type
AccessControlType

Objeto AccessControlType que contiene el tipo de ACE.

objectGuid
Guid

Objeto Guid que contiene el GUID del objeto de directorio.

inheritedObjectGuid
Guid

Objeto Guid que contiene el GUID del objeto de directorio heredado.

Devoluciones

Objeto AccessRule que corresponde al objeto ActiveDirectorySecurity.

Consulte también

Se aplica a