SecurityIdentifier
Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.
using System.Runtime.CompilerServices;
namespace System.Security.Principal
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class SecurityIdentifier : IdentityReference, IComparable<SecurityIdentifier>
{
public static readonly int MaxBinaryLength;
public static readonly int MinBinaryLength;
[System.Runtime.CompilerServices.Nullable(2)]
public SecurityIdentifier AccountDomainSid {
[System.Runtime.CompilerServices.NullableContext(2)]
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
}
public int BinaryLength {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
}
public override string Value {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
}
public SecurityIdentifier(byte[] binaryForm, int offset)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public SecurityIdentifier(IntPtr binaryForm)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
[System.Runtime.CompilerServices.NullableContext(2)]
public SecurityIdentifier(WellKnownSidType sidType, SecurityIdentifier domainSid)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public SecurityIdentifier(string sddlForm)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
[System.Runtime.CompilerServices.NullableContext(2)]
public int CompareTo(SecurityIdentifier sid)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
[System.Runtime.CompilerServices.NullableContext(2)]
public override bool Equals(object o)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public bool Equals(SecurityIdentifier sid)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public void GetBinaryForm(byte[] binaryForm, int offset)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public override int GetHashCode()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public bool IsAccountSid()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public bool IsEqualDomainSid(SecurityIdentifier sid)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public override bool IsValidTargetType(Type targetType)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public bool IsWellKnown(WellKnownSidType type)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public static bool operator ==(SecurityIdentifier left, SecurityIdentifier right)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public static bool operator !=(SecurityIdentifier left, SecurityIdentifier right)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public override string ToString()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public override IdentityReference Translate(Type targetType)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
}
}