SecurityIdentifier Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy SecurityIdentifier.

Przeciążenia

SecurityIdentifier(IntPtr)

Inicjuje SecurityIdentifier nowe wystąpienie klasy przy użyciu wskaźnika do postaci binarnej identyfikatora zabezpieczeń (SID).

SecurityIdentifier(String)

Inicjuje SecurityIdentifier nowe wystąpienie klasy przy użyciu określonego identyfikatora zabezpieczeń (SID) w formacie SDDL (Security Descriptor Definition Language).

SecurityIdentifier(Byte[], Int32)

Inicjuje nowe wystąpienie SecurityIdentifier klasy przy użyciu określonej binarnej reprezentacji identyfikatora zabezpieczeń (SID).

SecurityIdentifier(WellKnownSidType, SecurityIdentifier)

Inicjuje SecurityIdentifier nowe wystąpienie klasy przy użyciu określonego dobrze znanego typu identyfikatora zabezpieczeń (SID) i identyfikatora SID domeny.

SecurityIdentifier(IntPtr)

Inicjuje SecurityIdentifier nowe wystąpienie klasy przy użyciu wskaźnika do postaci binarnej identyfikatora zabezpieczeń (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

Wskaźnik do postaci binarnej identyfikatora SID.

Dotyczy

SecurityIdentifier(String)

Inicjuje SecurityIdentifier nowe wystąpienie klasy przy użyciu określonego identyfikatora zabezpieczeń (SID) w formacie 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

Ciąg SDDL dla identyfikatora SID użytego do utworzenia SecurityIdentifier obiektu.

Dotyczy

SecurityIdentifier(Byte[], Int32)

Inicjuje nowe wystąpienie SecurityIdentifier klasy przy użyciu określonej binarnej reprezentacji identyfikatora zabezpieczeń (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[]

Tablica bajtów reprezentująca identyfikator SID.

offset
Int32

Przesunięcie bajtów do użycia jako indeks początkowy w pliku binaryForm.

Dotyczy

SecurityIdentifier(WellKnownSidType, SecurityIdentifier)

Inicjuje SecurityIdentifier nowe wystąpienie klasy przy użyciu określonego dobrze znanego typu identyfikatora zabezpieczeń (SID) i identyfikatora SID domeny.

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 wartości wyliczenia. Ta wartość nie może być wartością LogonIdsSid.

Dotyczy