com.microsoft.tfs.core.clients.webservices
Class SecurityIdentifier
java.lang.Object
com.microsoft.tfs.core.clients.webservices.SecurityIdentifier
public class SecurityIdentifier
- extends java.lang.Object
Represents a Windows Security Identifier (SID). Can be used on all platforms.
- See Also:
(SID String Format Syntax)
- Thread-safety:
- immutable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
REVISION
public static final int REVISION
- The SID revision this class understands.
- Constant Field Value:
1
- See Also:
- Constant Field Values
MAX_SUB_AUTHORITIES
public static final byte MAX_SUB_AUTHORITIES
- Constant Field Value:
15
- See Also:
- Constant Field Values
SecurityIdentifier
public SecurityIdentifier(byte[] binaryForm,
int offset)
- Constructs a
SecurityIdentifier
from a .NET compatible byte array
form.
SecurityIdentifier
public SecurityIdentifier(java.lang.String sddlForm)
SecurityIdentifier
public SecurityIdentifier(long authority,
long[] subAuthorities)
getBinaryForm
public byte[] getBinaryForm()
getSDDLForm
public java.lang.String getSDDLForm()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getValue
public java.lang.String getValue()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
© 2015 Microsoft. All rights reserved.