modGetExecutePermissions
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
[@WFTableName =] 'name',
[@RowID =] 'id',
[@UserName =] 'user_name'
Determines whether the current user is a member of a role that has execute permissions for a workflow action. Exists in the solution database.
Parameters
[@WFTableName =] 'name'
Name of the workflow table.
[@RowID =] 'id'
ID of the row that defines the workflow action.
[@UserName =] 'user_name'
Domain\user name for the current user.
Return Value
Returns 1 if execute permissions are granted; otherwise, returns 0.
Example
The following example checks execute permissions for the workflow action with id = 18.
EXEC modGetExecutePermissions 'IssuesWorkflow', 18, 'somedomain\someuser'