VistaDB 5






FindUsersInRole Method
Syntax
'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
)
public function FindUsersInRole( 
    roleName: System.String;
    usernameToMatch: System.String
): System.array of String; override; 
public override function FindUsersInRole( 
   roleName : System.String,
   usernameToMatch : System.String
) : System.String[];
public: System.string*[]* FindUsersInRole( 
   System.string* roleName,
   System.string* usernameToMatch
) override 
public:
System.array<String^>^ FindUsersInRole( 
   System.String^ roleName,
   System.String^ usernameToMatch
) override 

Parameters

roleName
usernameToMatch
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also