Class SecurityIdentifier
Inheritance
System.Object
SecurityIdentifier
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
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
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
Methods
CompareTo(SecurityIdentifier)
Declaration
public int CompareTo(SecurityIdentifier sid)
Parameters
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
Equals(SecurityIdentifier)
Declaration
public bool Equals(SecurityIdentifier sid)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
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
IsAccountSid()
Declaration
public bool IsAccountSid()
Returns
| Type |
Description |
| System.Boolean |
|
IsEqualDomainSid(SecurityIdentifier)
Declaration
public bool IsEqualDomainSid(SecurityIdentifier sid)
Parameters
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
IsWellKnown(WellKnownSidType)
Declaration
public bool IsWellKnown(WellKnownSidType type)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
Translate(Type)
Declaration
public override IdentityReference Translate(Type targetType)
Parameters
| Type |
Name |
Description |
| System.Type |
targetType |
|
Returns
Overrides
Operators
Equality(SecurityIdentifier, SecurityIdentifier)
Declaration
public static bool operator ==(SecurityIdentifier left, SecurityIdentifier right)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(SecurityIdentifier, SecurityIdentifier)
Declaration
public static bool operator !=(SecurityIdentifier left, SecurityIdentifier right)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Implements
System.IComparable<>