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