This document is archived and information here might be outdated. Recommended version. |
Returns users within a role that match a filter upto a maxCount number.
[Visual Basic .NET]
Public Function GetUsersWithinRole ( _
ByVal rolename As String, _
ByVal filter As String, _
ByVal maxCount As Integer, _
ByRef usernames As String[]& _
) As Boolean
[C#]
public bool GetUsersWithinRole (
string rolename,
string filter,
int maxCount,
ref String[]& usernames
);
[C++]
HRESULT GetUsersWithinRole(
BSTR rolename,
BSTR filter,
long maxCount,
SAFEARRAY(System.String)* usernames
);
[C++] Parameters rolename [in]
rolename is a parameter of type BSTR filter [in]
filter is a parameter of type BSTR maxCount [in]
maxCount is a parameter of type long usernames [out]
usernames is a parameter of type SAFEARRAY(BSTR)*