public class SecurityIdentifier extends IdentityReference
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Principal.SecurityIdentifier
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.Principal.Windows, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Principal.Windows
|
static java.lang.String |
className
Qualified class name: System.Security.Principal.SecurityIdentifier
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SecurityIdentifier() |
SecurityIdentifier(byte[] binaryForm,
int offset) |
SecurityIdentifier(java.lang.Object instance)
Internal constructor.
|
SecurityIdentifier(java.lang.String sddlForm) |
SecurityIdentifier(WellKnownSidType sidType,
SecurityIdentifier domainSid) |
| Modifier and Type | Method and Description |
|---|---|
static SecurityIdentifier |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SecurityIdentifier, a cast assert is made to check if types are compatible. |
int |
CompareTo(SecurityIdentifier sid) |
boolean |
Equals(SecurityIdentifier sid) |
SecurityIdentifier |
getAccountDomainSid() |
void |
GetBinaryForm(byte[] binaryForm,
int offset) |
void |
GetBinaryForm(JCORefOut dupParam0,
int dupParam1) |
int |
getBinaryLength() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
IsAccountSid() |
boolean |
IsEqualDomainSid(SecurityIdentifier sid) |
boolean |
IsValidTargetType(NetType targetType) |
boolean |
IsWellKnown(WellKnownSidType type) |
void |
setJCOInstance(JCObject instance) |
IdentityReference |
Translate(NetType targetType) |
getValuepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SecurityIdentifier()
throws java.lang.Throwable
java.lang.Throwablepublic SecurityIdentifier(byte[] binaryForm,
int offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
public SecurityIdentifier(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SecurityIdentifier(java.lang.String sddlForm)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
AccessViolationException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
Win32Exception
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionAccessViolationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionWin32Exceptionpublic SecurityIdentifier(WellKnownSidType sidType, SecurityIdentifier domainSid) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, FormatException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionFormatExceptionWin32Exceptionpublic static SecurityIdentifier cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SecurityIdentifier, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSecurityIdentifier instancejava.lang.Throwable - in case of error during cast operationpublic int CompareTo(SecurityIdentifier sid) throws java.lang.Throwable
java.lang.Throwablepublic boolean Equals(SecurityIdentifier sid) throws java.lang.Throwable
java.lang.Throwablepublic SecurityIdentifier getAccountDomainSid() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, FormatException, OutOfMemoryException, Win32Exception
public void GetBinaryForm(byte[] binaryForm,
int offset)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException
public void GetBinaryForm(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
public int getBinaryLength()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class IdentityReferenceString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class IdentityReferenceString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class IdentityReferenceObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class IdentityReferenceString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class IdentityReferenceJCType representing the CLR Type of the instantiated Classpublic boolean IsAccountSid()
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
RankException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
Win32Exception
public boolean IsEqualDomainSid(SecurityIdentifier sid) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
public boolean IsValidTargetType(NetType targetType) throws java.lang.Throwable
IsValidTargetType in class IdentityReferencejava.lang.Throwablepublic boolean IsWellKnown(WellKnownSidType type) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
public void setJCOInstance(JCObject instance)
setJCOInstance in class IdentityReferencepublic IdentityReference Translate(NetType targetType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, UnauthorizedAccessException, OutOfMemoryException, Win32Exception, IdentityNotMappedException
Translate in class IdentityReferencejava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionUnauthorizedAccessExceptionOutOfMemoryExceptionWin32ExceptionIdentityNotMappedException