isUserInAppRole

This function verifies if a user has a specific application role.

Signature:

ids:isUserInAppRole(userName, appRoleName, appName, realmName)

Arguments:

  • userName: String or element containing the user whose participation in the role must be verified.

  • appRoleName: The application role name.

  • appName: The application name (for example, OracleBPMProcessRolesApp, OracleBPMComposerRolesApp, and so on).

  • realmName: The realm name. This is optional. If not specified, the default realm is assumed. This function returns a boolean true or false.