Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Security.Principal.SecurityIdentifier Class Referencesealed

Public Member Functions

 SecurityIdentifier (string sddlForm)
 
 SecurityIdentifier (byte[] binaryForm, int offset)
 
 SecurityIdentifier (IntPtr binaryForm)
 
 SecurityIdentifier (WellKnownSidType sidType, SecurityIdentifier? domainSid)
 
override bool Equals ([NotNullWhen(true)] object? o)
 
bool Equals (SecurityIdentifier sid)
 
override int GetHashCode ()
 
override string ToString ()
 
override bool IsValidTargetType (Type targetType)
 
bool IsAccountSid ()
 
override IdentityReference Translate (Type targetType)
 
int CompareTo (SecurityIdentifier? sid)
 
bool IsWellKnown (WellKnownSidType type)
 
void GetBinaryForm (byte[] binaryForm, int offset)
 
bool IsEqualDomainSid (SecurityIdentifier sid)
 
int CompareTo (object? obj)
 
int CompareTo (T? other)
 

Static Public Member Functions

static bool operator== (SecurityIdentifier? left, SecurityIdentifier? right)
 
static bool operator!= (SecurityIdentifier? left, SecurityIdentifier? right)
 
static bool operator== (IdentityReference? left, IdentityReference? right)
 
static bool operator!= (IdentityReference? left, IdentityReference? right)
 

Static Public Attributes

static readonly int MinBinaryLength = 8
 
static readonly int MaxBinaryLength = 68
 

Package Functions

 SecurityIdentifier (IdentifierAuthority identifierAuthority, ReadOnlySpan< int > subAuthorities)
 
SecurityIdentifier GetAccountDomainSid ()
 
int GetSubAuthority (int index)
 

Static Package Functions

static bool IsValidTargetTypeStatic (Type targetType)
 
static IdentityReferenceCollection Translate (IdentityReferenceCollection sourceSids, Type targetType, bool forceSuccess)
 
static IdentityReferenceCollection Translate (IdentityReferenceCollection sourceSids, Type targetType, out bool someFailed)
 

Properties

static byte Revision [get]
 
byte[] BinaryForm [get]
 
IdentifierAuthority IdentifierAuthority [get]
 
int SubAuthorityCount [get]
 
int BinaryLength [get]
 
SecurityIdentifierAccountDomainSid [get]
 
override string Value [get]
 

Private Member Functions

void CreateFromParts (IdentifierAuthority identifierAuthority, ReadOnlySpan< int > subAuthorities)
 
void CreateFromBinaryForm (byte[] binaryForm, int offset)
 

Static Private Member Functions

static IdentityReferenceCollection TranslateToNTAccounts (IdentityReferenceCollection sourceSids, out bool someFailed)
 

Private Attributes

IdentifierAuthority _identifierAuthority
 
int[] _subAuthorities
 
byte[] _binaryForm
 
SecurityIdentifier _accountDomainSid
 
bool _accountDomainSidInitialized
 
string _sddlForm
 

Detailed Description

Definition at line 8 of file SecurityIdentifier.cs.


The documentation for this class was generated from the following file: