Edit

Share via


AuthorizationStoreRoleProvider.FindUsersInRole(String, String) Method

Definition

This method is not supported by the authorization store role provider.

public:
 override cli::array <System::String ^> ^ FindUsersInRole(System::String ^ roleName, System::String ^ usernameToMatch);
public override string[] FindUsersInRole (string roleName, string usernameToMatch);
override this.FindUsersInRole : string * string -> string[]
Public Overrides Function FindUsersInRole (roleName As String, usernameToMatch As String) As String()

Parameters

roleName
String

The role to search in.

usernameToMatch
String

The user name to search for.

Returns

String[]

A string array containing the names of all the users whose user name matches usernameToMatch and who are members of the specified role.

Exceptions

An unsupported method was called.

Applies to

See also