AuthorizationStoreRoleProvider.FindUsersInRole(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.