This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public class ActiveDirectoryRoleProvider |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class ActiveDirectoryRoleProvider |
The type exposes the following members.
Public Constructors
Name | Description | |
---|---|---|
ActiveDirectoryRoleProvider |
Constructor
|
Public Methods
Name | Description | |
---|---|---|
AddUsersToRoles |
Adds the specified user names to the specified roles.
(Overrides RoleProvider..::AddUsersToRoles(array<String>[]()[][], array<String>[]()[][]).) |
|
CreateRole |
Adds a new role to the data source.
(Overrides RoleProvider..::CreateRole(String).) |
|
DeleteRole |
Removes a role from the data source.
(Overrides RoleProvider..::DeleteRole(String, Boolean).) |
|
Equals | (Inherited from Object.) | |
FindUsersInRole |
Gets an array of user names in a role where the user name contains the
specified user name to match.
(Overrides RoleProvider..::FindUsersInRole(String, String).) |
|
GetAllRoles |
Gets a list of all the roles.
(Overrides RoleProvider..::GetAllRoles()()()().) |
|
GetHashCode | (Inherited from Object.) | |
GetRolesForUser |
Gets a list of the roles that a specified user is in.
(Overrides RoleProvider..::GetRolesForUser(String).) |
|
GetType | (Inherited from Object.) | |
GetUsersInRole |
Gets a list of users in the specified role.
(Overrides RoleProvider..::GetUsersInRole(String).) |
|
Initialize | ||
IsUserInRole |
Gets a value indicating whether the specified user is in the specified role.
(Overrides RoleProvider..::IsUserInRole(String, String).) |
|
RemoveUsersFromRoles |
Removes the specified user names from the specified roles.
(Overrides RoleProvider..::RemoveUsersFromRoles(array<String>[]()[][], array<String>[]()[][]).) |
|
RoleExists |
Gets a value indicating whether the specified role name already exists
in the role data source.
(Overrides RoleProvider..::RoleExists(String).) |
|
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Public Properties
Name | Description | |
---|---|---|
ApplicationName |
The name of the application using the custom provider
(Overrides RoleProvider..::ApplicationName.) |
|
Current |
The current Active Directory Role Provider
|
|
Description | (Inherited from ProviderBase.) | |
Name | (Inherited from ProviderBase.) | |
WriteExceptionsToEventLog |
If false, exceptions are thrown to the caller.
If true, exceptions are written to the event log.
|