Sdílet prostřednictvím


SecurityIdentifier Konstruktory

Definice

Inicializuje novou instanci SecurityIdentifier třídy .

Přetížení

SecurityIdentifier(IntPtr)

Inicializuje novou instanci SecurityIdentifier třídy pomocí ukazatele na binární formu identifikátoru zabezpečení (SID).

SecurityIdentifier(String)

Inicializuje novou instanci SecurityIdentifier třídy pomocí zadaného identifikátoru zabezpečení (SID) ve formátu jazyka SDDL (Security Descriptor Definition Language).

SecurityIdentifier(Byte[], Int32)

Inicializuje novou instanci SecurityIdentifier třídy pomocí zadané binární reprezentace identifikátoru zabezpečení (SID).

SecurityIdentifier(WellKnownSidType, SecurityIdentifier)

Inicializuje novou instanci třídy pomocí zadaného dobře známého SecurityIdentifier identifikátoru zabezpečení (SID) typu a sid domény.

SecurityIdentifier(IntPtr)

Inicializuje novou instanci SecurityIdentifier třídy pomocí ukazatele na binární formu identifikátoru zabezpečení (SID).

public:
 SecurityIdentifier(IntPtr binaryForm);
public SecurityIdentifier (IntPtr binaryForm);
new System.Security.Principal.SecurityIdentifier : nativeint -> System.Security.Principal.SecurityIdentifier
Public Sub New (binaryForm As IntPtr)

Parametry

binaryForm
IntPtr

nativeint

Ukazatel na binární formu identifikátoru SID.

Platí pro

SecurityIdentifier(String)

Inicializuje novou instanci SecurityIdentifier třídy pomocí zadaného identifikátoru zabezpečení (SID) ve formátu jazyka SDDL (Security Descriptor Definition Language).

public:
 SecurityIdentifier(System::String ^ sddlForm);
public SecurityIdentifier (string sddlForm);
new System.Security.Principal.SecurityIdentifier : string -> System.Security.Principal.SecurityIdentifier
Public Sub New (sddlForm As String)

Parametry

sddlForm
String

Řetězec SDDL pro identifikátor SID použitý k vytvoření objektu SecurityIdentifier .

Platí pro

SecurityIdentifier(Byte[], Int32)

Inicializuje novou instanci SecurityIdentifier třídy pomocí zadané binární reprezentace identifikátoru zabezpečení (SID).

public:
 SecurityIdentifier(cli::array <System::Byte> ^ binaryForm, int offset);
public SecurityIdentifier (byte[] binaryForm, int offset);
new System.Security.Principal.SecurityIdentifier : byte[] * int -> System.Security.Principal.SecurityIdentifier
Public Sub New (binaryForm As Byte(), offset As Integer)

Parametry

binaryForm
Byte[]

Pole bajtů, které představuje identifikátor SID.

offset
Int32

Posun bajtů, který se použije jako počáteční index v binaryFormnástroji .

Platí pro

SecurityIdentifier(WellKnownSidType, SecurityIdentifier)

Inicializuje novou instanci třídy pomocí zadaného dobře známého SecurityIdentifier identifikátoru zabezpečení (SID) typu a sid domény.

public:
 SecurityIdentifier(System::Security::Principal::WellKnownSidType sidType, System::Security::Principal::SecurityIdentifier ^ domainSid);
public SecurityIdentifier (System.Security.Principal.WellKnownSidType sidType, System.Security.Principal.SecurityIdentifier? domainSid);
public SecurityIdentifier (System.Security.Principal.WellKnownSidType sidType, System.Security.Principal.SecurityIdentifier domainSid);
new System.Security.Principal.SecurityIdentifier : System.Security.Principal.WellKnownSidType * System.Security.Principal.SecurityIdentifier -> System.Security.Principal.SecurityIdentifier
Public Sub New (sidType As WellKnownSidType, domainSid As SecurityIdentifier)

Parametry

sidType
WellKnownSidType

Jedna z hodnot výčtu Tato hodnota nesmí být LogonIdsSid.

Platí pro