workflow::case::get_user_roles (public)
workflow::case::get_user_roles -case_id case_id [ -user_id user_id ]
Defined in packages/workflow/tcl/case-procs.tcl
Get the roles which this user is assigned to. Takes deputies into account, so that if the user is a deputy for someone else, he or she will have the roles of the user for whom he/she is a deputy.
- Switches:
- -case_id (required)
- The ID of the case.
- -user_id (optional)
- The user_id of the user for which you want to know the roles. Defaults to ad_conn user_id.
- Returns:
- A list of role_id's of the roles which the user is assigned to in this case.
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.