CryptoKeySecurity.AccessRuleFactory Metoda

Definice

Inicializuje novou instanci AccessRule třídy se zadanými hodnotami.

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

Parametry

identityReference
IdentityReference

Identita, na kterou se vztahuje pravidlo přístupu. Musí to být objekt, který lze přetypovat jako SecurityIdentifier.

accessMask
Int32

Přístupová maska tohoto pravidla Přístupová maska je 32bitová kolekce anonymních bitů, což je význam, který definuje jednotliví integrátoři.

isInherited
Boolean

true Pokud je toto pravidlo zděděno z nadřazeného kontejneru.

inheritanceFlags
InheritanceFlags

Určuje vlastnosti dědičnosti pravidla přístupu.

propagationFlags
PropagationFlags

Určuje, jestli se zděděná pravidla přístupu automaticky rozšíří. Příznaky šíření jsou ignorovány, pokud inheritanceFlags je nastavena na None.

type
AccessControlType

Určuje platný typ řízení přístupu.

Návraty

Objekt AccessRule , který tato metoda vytvoří.

Platí pro