Bagikan melalui


ActiveDirectorySecurity.AccessRuleFactory Metode

Definisi

Membuat objek AccessRule.

Overload

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

AccessRule Membuat objek dengan nilai yang ditentukan.

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

AccessRule Membuat objek dengan nilai yang ditentukan.

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

Sumber:
ActiveDirectorySecurity.cs
Sumber:
ActiveDirectorySecurity.cs
Sumber:
ActiveDirectorySecurity.cs

AccessRule Membuat objek dengan nilai yang ditentukan.

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

Parameter

identityReference
IdentityReference

Objek IdentityReference seperti objek NTAccount yang diselesaikan ke pengidentifikasi keamanan (SID).

accessMask
Int32

Bitmask Int32 yang menunjukkan hak istimewa akses untuk digunakan.

isInherited
Boolean

Objek Boolean yang menunjukkan apakah ASE diwariskan. true jika ACE diwariskan; jika tidak, false.

inheritanceFlags
InheritanceFlags

Objek InheritanceFlags yang berisi bendera pewarisan pada objek direktori.

propagationFlags
PropagationFlags

Objek PropagationFlags yang berisi bendera penyebaran pewarisan pada objek direktori.

type
AccessControlType

Objek AccessControlType yang berisi jenis ACE.

Mengembalikan

AccessRule yang sesuai dengan ActiveDirectorySecurity objek .

Lihat juga

Berlaku untuk

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

Sumber:
ActiveDirectorySecurity.cs
Sumber:
ActiveDirectorySecurity.cs
Sumber:
ActiveDirectorySecurity.cs

AccessRule Membuat objek dengan nilai yang ditentukan.

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

Parameter

identityReference
IdentityReference

Objek IdentityReference , seperti objek NTAccount, yang diselesaikan ke pengidentifikasi keamanan (SID).

accessMask
Int32

Bitmask Int32 yang menunjukkan hak istimewa akses untuk digunakan.

isInherited
Boolean

Objek Boolean yang menunjukkan apakah ACE diwariskan. true jika ACE diwariskan; jika tidak, false.

inheritanceFlags
InheritanceFlags

Objek InheritanceFlags yang berisi bendera pewarisan untuk objek direktori.

propagationFlags
PropagationFlags

Objek PropagationFlags yang berisi bendera penyebaran pewarisan untuk objek direktori.

type
AccessControlType

Objek AccessControlType yang berisi jenis ACE.

objectGuid
Guid

Objek Guid yang berisi GUID objek direktori.

inheritedObjectGuid
Guid

Objek Guid yang berisi GUID objek direktori yang diwariskan.

Mengembalikan

AccessRule yang sesuai dengan ActiveDirectorySecurity objek .

Lihat juga

Berlaku untuk