The function checks if a user or group of users plays a role in the current project. Argument user_name can also be a comma-separated list of user names, group names or role names. In that case, the function will return TRUEonly if all users in the list, groups of the list, and in the roles of the list, are in the project role in the second argument, for the current project.
isInRole(text user_name, text role_name) #Output: Boolean
The function checks if a user or group of users plays a role in a certain project. Argument user_name can also be a comma-separated list of user names, group names or role names. In that case, the function will return TRUE only if all users in the list, groups of the list, and in the roles of the list, are in role in the second argument, for the project in the third argument.
isInRole(text user_name, text role_name, text project_key) #Output: Boolean