isUserInRole

Description

Returns "true" if the user has a certain role on the specified project.

Parameters

Return Type

Boolean

Returns "true" if the user has the role on a project and "false" otherwise.

Example

return isUserInRole("mike", "PRJ", "Developers");

The look-up is first made after the userkey, then after the username.

See also

Peacock