System.Web.Security.SqlRoleProvider.GetUsersInRole Method

Gets a list of users in the specified role.

Syntax

public override string[] GetUsersInRole (string rolename)

Parameters

rolename
Documentation for this section has not yet been entered.

Returns

A string array containing the names of all the users who are members of the specified role.

Remarks

The SqlRoleProvider.GetUsersInRole(string) method is called by the System.Web.Security.Roles class to retrieve the list of users associated with the specified role in the SQL Server database specified in the ASP.NET application's configuration file (Web.config).

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0