SecurityIdentifier Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy SecurityIdentifier.

Przeciążenia

Nazwa Opis
SecurityIdentifier(IntPtr)

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

SecurityIdentifier(String)

Inicjuje nowe wystąpienie SecurityIdentifier 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 nowe wystąpienie SecurityIdentifier klasy przy użyciu określonego dobrze znanego typu identyfikatora zabezpieczeń (SID) i identyfikatora SID domeny.

SecurityIdentifier(IntPtr)

Inicjuje nowe wystąpienie SecurityIdentifier 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 nowe wystąpienie SecurityIdentifier 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 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 bajtu, które ma być używane jako indeks początkowy w pliku binaryForm.

Dotyczy

SecurityIdentifier(WellKnownSidType, SecurityIdentifier)

Inicjuje nowe wystąpienie SecurityIdentifier 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 mieć wartości LogonIdsSid.

Dotyczy