Επεξεργασία

Κοινή χρήση μέσω


WindowsTokenRoleProvider.FindUsersInRole(String, String) Method

Definition

This method is not supported by the Windows token 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 find in the role.

Returns

String[]

None. The method is not supported by the WindowsTokenRoleProvider class and always throws a ProviderException.

Exceptions

An unsupported method was called.

Applies to

See also