DefaultRoleProvider.RemoveUsersFromRoles Method (String[], String[])
Removes the specified users from the specified roles.
Namespace: System.Web.Providers
Assembly: System.Web.Providers (in System.Web.Providers.dll)
Syntax
public override void RemoveUsersFromRoles(
string[] usernames,
string[] roleNames
)
public:
virtual void RemoveUsersFromRoles(
array<String^>^ usernames,
array<String^>^ roleNames
) override
override RemoveUsersFromRoles :
usernames:string[] *
roleNames:string[] -> unit
Public Overrides Sub RemoveUsersFromRoles (
usernames As String(),
roleNames As String()
)
Parameters
usernames
Type: System.String[]The users to remove from the specified roles.
roleNames
Type: System.String[]A string array of role names to remove the specified users from.
See Also
DefaultRoleProvider Class
System.Web.Providers Namespace
ASP.NET Identity
Return to top