| SimpleMappingRoleProviderRemoveUser Method |
Removes a user from a role.
Namespace:
Galactic.Web.Security.SimpleMapping
Assembly:
Galactic.Web.Security.SimpleMapping (in Galactic.Web.Security.SimpleMapping.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool RemoveUser(
string username,
string roleName
)
Public Function RemoveUser (
username As String,
roleName As String
) As Boolean
public:
bool RemoveUser(
String^ username,
String^ roleName
)
member RemoveUser :
username : string *
roleName : string -> bool
Parameters
- username
- Type: SystemString
The name of the user to remove from the role. - roleName
- Type: SystemString
The name of the role to remove the user from.
Return Value
Type:
BooleanTrue if the user was removed. False, otherwise.
See Also