ExecuteRoleQuery function
Syntax
ExecuteRoleQuery(RoleName, BindVars)
where BindVars is an arbitrary-length list of bind variables that are stings in the form:
bindvar1 [, bindvar2]. . .
Description
Use the ExecuteRoleQuery function to execute the Query rule for the role rolename, passing in BindVars as the bind variables. This function returns an array object containing the appropriate user members (UserIds).
Parameters
| Parameter | Description |
|---|---|
|
RoleName |
Specify the name of an existing role. |
|
BindVars |
A list of bind variables to be substituted in the query. These bind variables must be strings. You can't use numbers, dates, and so on. |
Returns
An array object containing the appropriate UserIds.