Removes the specified user names from the specified roles.
Exception Type | Condition |
---|---|
ArgumentNullException | One of the roles specified in roleNames is null.-or-One of the users specified in usernames is null. |
ArgumentException | One of the roles specified in roleNames is an empty string. -or- One of the users specified in usernames is an empty string.-or- roleNames contains a duplicate element.-or- usernames contains a duplicate element. |
VGRoleProvider Class | Novalys.VisualGuard.Security.WebForm Namespace