Search Results for

    Show / Hide Table of Contents

    Class SecurityIdentifier

    Inheritance
    System.Object
    IdentityReference
    SecurityIdentifier
    Implements
    System.IComparable<SecurityIdentifier>
    Namespace: System.Security.Principal
    Assembly: IronZip.dll
    Syntax
    public sealed class SecurityIdentifier : IdentityReference

    Constructors

    SecurityIdentifier(Byte[], Int32)

    Declaration
    public SecurityIdentifier(byte[] binaryForm, int offset)
    Parameters
    Type Name Description
    System.Byte[] binaryForm
    System.Int32 offset

    SecurityIdentifier(IntPtr)

    Declaration
    public SecurityIdentifier(IntPtr binaryForm)
    Parameters
    Type Name Description
    System.IntPtr binaryForm

    SecurityIdentifier(WellKnownSidType, SecurityIdentifier)

    Declaration
    public SecurityIdentifier(WellKnownSidType sidType, SecurityIdentifier domainSid)
    Parameters
    Type Name Description
    WellKnownSidType sidType
    SecurityIdentifier domainSid

    SecurityIdentifier(String)

    Declaration
    public SecurityIdentifier(string sddlForm)
    Parameters
    Type Name Description
    System.String sddlForm

    Fields

    MaxBinaryLength

    Declaration
    public static readonly int MaxBinaryLength
    Field Value
    Type Description
    System.Int32

    MinBinaryLength

    Declaration
    public static readonly int MinBinaryLength
    Field Value
    Type Description
    System.Int32

    Properties

    AccountDomainSid

    Declaration
    public SecurityIdentifier AccountDomainSid { get; }
    Property Value
    Type Description
    SecurityIdentifier

    BinaryLength

    Declaration
    public int BinaryLength { get; }
    Property Value
    Type Description
    System.Int32

    Value

    Declaration
    public override string Value { get; }
    Property Value
    Type Description
    System.String
    Overrides
    IdentityReference.Value

    Methods

    CompareTo(SecurityIdentifier)

    Declaration
    public int CompareTo(SecurityIdentifier sid)
    Parameters
    Type Name Description
    SecurityIdentifier sid
    Returns
    Type Description
    System.Int32

    Equals(Object)

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    System.Object o
    Returns
    Type Description
    System.Boolean
    Overrides
    IdentityReference.Equals(Object)

    Equals(SecurityIdentifier)

    Declaration
    public bool Equals(SecurityIdentifier sid)
    Parameters
    Type Name Description
    SecurityIdentifier sid
    Returns
    Type Description
    System.Boolean

    GetBinaryForm(Byte[], Int32)

    Declaration
    public void GetBinaryForm(byte[] binaryForm, int offset)
    Parameters
    Type Name Description
    System.Byte[] binaryForm
    System.Int32 offset

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    IdentityReference.GetHashCode()

    IsAccountSid()

    Declaration
    public bool IsAccountSid()
    Returns
    Type Description
    System.Boolean

    IsEqualDomainSid(SecurityIdentifier)

    Declaration
    public bool IsEqualDomainSid(SecurityIdentifier sid)
    Parameters
    Type Name Description
    SecurityIdentifier sid
    Returns
    Type Description
    System.Boolean

    IsValidTargetType(Type)

    Declaration
    public override bool IsValidTargetType(Type targetType)
    Parameters
    Type Name Description
    System.Type targetType
    Returns
    Type Description
    System.Boolean
    Overrides
    IdentityReference.IsValidTargetType(Type)

    IsWellKnown(WellKnownSidType)

    Declaration
    public bool IsWellKnown(WellKnownSidType type)
    Parameters
    Type Name Description
    WellKnownSidType type
    Returns
    Type Description
    System.Boolean

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    IdentityReference.ToString()

    Translate(Type)

    Declaration
    public override IdentityReference Translate(Type targetType)
    Parameters
    Type Name Description
    System.Type targetType
    Returns
    Type Description
    IdentityReference
    Overrides
    IdentityReference.Translate(Type)

    Operators

    Equality(SecurityIdentifier, SecurityIdentifier)

    Declaration
    public static bool operator ==(SecurityIdentifier left, SecurityIdentifier right)
    Parameters
    Type Name Description
    SecurityIdentifier left
    SecurityIdentifier right
    Returns
    Type Description
    System.Boolean

    Inequality(SecurityIdentifier, SecurityIdentifier)

    Declaration
    public static bool operator !=(SecurityIdentifier left, SecurityIdentifier right)
    Parameters
    Type Name Description
    SecurityIdentifier left
    SecurityIdentifier right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IComparable<>
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronZIP to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronZIP free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.