public class WindowsTokenRoleProvider extends RoleProvider
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Security.WindowsTokenRoleProvider
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.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Web
|
static java.lang.String |
className
Qualified class name: System.Web.Security.WindowsTokenRoleProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
WindowsTokenRoleProvider() |
WindowsTokenRoleProvider(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddUsersToRoles(JCORefOut dupParam0,
JCORefOut dupParam1) |
void |
AddUsersToRoles(java.lang.String[] usernames,
java.lang.String[] roleNames) |
static WindowsTokenRoleProvider |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into WindowsTokenRoleProvider, a cast assert is made to check if types are compatible. |
void |
CreateRole(java.lang.String roleName) |
boolean |
DeleteRole(java.lang.String roleName,
boolean throwOnPopulatedRole) |
java.lang.String[] |
FindUsersInRole(java.lang.String roleName,
java.lang.String usernameToMatch) |
java.lang.String[] |
GetAllRoles() |
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
|
java.lang.String[] |
GetRolesForUser(java.lang.String username) |
java.lang.String[] |
GetUsersInRole(java.lang.String roleName) |
void |
Initialize(java.lang.String name,
NameValueCollection config) |
boolean |
IsUserInRole(java.lang.String username,
java.lang.String roleName) |
boolean |
IsUserInRole(java.lang.String username,
WindowsBuiltInRole role) |
void |
RemoveUsersFromRoles(JCORefOut dupParam0,
JCORefOut dupParam1) |
void |
RemoveUsersFromRoles(java.lang.String[] usernames,
java.lang.String[] roleNames) |
boolean |
RoleExists(java.lang.String roleName) |
void |
setJCOInstance(JCObject instance) |
getApplicationName, setApplicationNamegetDescription, getNamepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public WindowsTokenRoleProvider()
throws java.lang.Throwable
java.lang.Throwablepublic WindowsTokenRoleProvider(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddUsersToRoles(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ProviderException
AddUsersToRoles in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic void AddUsersToRoles(java.lang.String[] usernames,
java.lang.String[] roleNames)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException
AddUsersToRoles in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic static WindowsTokenRoleProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into WindowsTokenRoleProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedWindowsTokenRoleProvider instancejava.lang.Throwable - in case of error during cast operationpublic void CreateRole(java.lang.String roleName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException
CreateRole in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic boolean DeleteRole(java.lang.String roleName,
boolean throwOnPopulatedRole)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException
DeleteRole in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic java.lang.String[] FindUsersInRole(java.lang.String roleName,
java.lang.String usernameToMatch)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException
FindUsersInRole in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic java.lang.String[] GetAllRoles()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException
GetAllRoles in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class RoleProviderString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class RoleProviderString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class RoleProviderObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class RoleProviderString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class RoleProviderJCType representing the CLR Type of the instantiated Classpublic java.lang.String[] GetRolesForUser(java.lang.String username)
throws java.lang.Throwable,
ArgumentException,
SecurityException,
ArgumentNullException,
NotImplementedException,
NotSupportedException,
InvalidOperationException,
MemberAccessException,
TargetException,
TargetParameterCountException,
ObjectDisposedException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
HttpException,
ProviderException,
NullReferenceException,
IndexOutOfRangeException
GetRolesForUser in class RoleProviderjava.lang.ThrowableArgumentExceptionSecurityExceptionArgumentNullExceptionNotImplementedExceptionNotSupportedExceptionInvalidOperationExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionHttpExceptionProviderExceptionNullReferenceExceptionIndexOutOfRangeExceptionpublic java.lang.String[] GetUsersInRole(java.lang.String roleName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException
GetUsersInRole in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic void Initialize(java.lang.String name,
NameValueCollection config)
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
InvalidOperationException,
NotSupportedException,
HttpException,
PlatformNotSupportedException,
NullReferenceException,
KeyNotFoundException,
Win32Exception,
AccessViolationException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
ProviderException
Initialize in class ProviderBasejava.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionNotSupportedExceptionHttpExceptionPlatformNotSupportedExceptionNullReferenceExceptionKeyNotFoundExceptionWin32ExceptionAccessViolationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionProviderExceptionpublic boolean IsUserInRole(java.lang.String username,
java.lang.String roleName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ProviderException,
NotSupportedException,
SecurityException,
NullReferenceException
IsUserInRole in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionProviderExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionpublic boolean IsUserInRole(java.lang.String username,
WindowsBuiltInRole role)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException,
NotSupportedException,
SecurityException,
NullReferenceException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionpublic void RemoveUsersFromRoles(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ProviderException
RemoveUsersFromRoles in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic void RemoveUsersFromRoles(java.lang.String[] usernames,
java.lang.String[] roleNames)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException
RemoveUsersFromRoles in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic boolean RoleExists(java.lang.String roleName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException
RoleExists in class RoleProviderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class RoleProvider