'Declaration
Public Overrides NotOverridable Function FindUsersInRole( _ ByVal roleName As System.String, _ ByVal usernameToMatch As System.String _ ) As System.String()
'Usage
Dim instance As VistaDBRoleProvider Dim roleName As System.String Dim usernameToMatch As System.String Dim value() As System.String value = instance.FindUsersInRole(roleName, usernameToMatch)
public override System.string[] FindUsersInRole( System.string roleName, System.string usernameToMatch )
Parameters
- roleName
- The role to search in.
- usernameToMatch
- The user name to search for.
Return Value
A string array containing the names of all the users where the user name matches usernameToMatch and the user is a member of the specified role.