Share via


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
)

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