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 SqlRoleProvider |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class SqlRoleProvider |
The type exposes the following methods.
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).) |
|
SynchronizeWithExternalRolesForUser |
Synchronizes the Smartsite user groups the user is in with the externally
managed roles. Externally managed roles are marked in the UserGroups table
by setting the value in the ExternallyManaged column to true.
|
|
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |