Click or drag to resize
Galactic API

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
)

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: Boolean
True if the user was removed. False, otherwise.
See Also