Method | Description | |
---|---|---|
AddUsersToRoles ( string usernames, string rolenames ) : void |
Adds the users to roles.
|
|
CreateRole ( string rolename ) : void |
Creates the role.
|
|
DeleteRole ( string rolename, bool throwOnPopulatedRole ) : bool |
Deletes the role.
|
|
FindUsersInRole ( string rolename, string usernameToMatch ) : string[] |
Finds the users in role.
|
|
GetAllRoles ( ) : string[] |
Gets a list of all the roles for the configured applicationName.
|
|
GetRolesForUser ( string username ) : string[] |
Gets a list of the roles that a specified user is in for the configured applicationName.
|
|
GetUsersInRole ( string rolename ) : string[] |
Gets the users in role.
|
|
Initialize ( string name, |
Initializes the provider.
|
|
IsUserInRole ( string username, string rolename ) : bool |
Determines whether [is user in role] [the specified username].
|
|
RemoveUsersFromRoles ( string usernames, string rolenames ) : void |
Removes the users from roles.
|
|
RoleExists ( string rolename ) : bool |
Roles the exists.
|
Method | Description | |
---|---|---|
DeleteUserData ( |
||
GetRoleId ( |
||
GetRolesByUserName ( |
||
GetUserId ( |
||
WriteToEventLog ( |
public AddUsersToRoles ( string usernames, string rolenames ) : void | ||
usernames | string | The usernames. |
rolenames | string | The rolenames. |
return | void |
public CreateRole ( string rolename ) : void | ||
rolename | string | The rolename. |
return | void |
public DeleteRole ( string rolename, bool throwOnPopulatedRole ) : bool | ||
rolename | string | The rolename. |
throwOnPopulatedRole | bool | if set to |
return | bool |
public FindUsersInRole ( string rolename, string usernameToMatch ) : string[] | ||
rolename | string | The rolename. |
usernameToMatch | string | The username to match. |
return | string[] |
public GetRolesForUser ( string username ) : string[] | ||
username | string | The user to return a list of roles for. |
return | string[] |
public GetUsersInRole ( string rolename ) : string[] | ||
rolename | string | The rolename. |
return | string[] |
public Initialize ( string name, |
||
name | string | The friendly name of the provider. |
config | A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. | |
return | void |
public IsUserInRole ( string username, string rolename ) : bool | ||
username | string | The username. |
rolename | string | The rolename. |
return | bool |
public RemoveUsersFromRoles ( string usernames, string rolenames ) : void | ||
usernames | string | The usernames. |
rolenames | string | The rolenames. |
return | void |
public RoleExists ( string rolename ) : bool | ||
rolename | string | The rolename. |
return | bool |