isCallerInRole()

Returns whether a web client requesting a service is in a specific role. This allows the collaboration to customize the business process based on the client's identity.

Syntax

boolean isCallerInRole(String Role)

Parameters

Role
The specific role for which you are testing.

Returns

Returns true if the client is in the specified Role; otherwise returns false.

Notes

You must turn on Role-Based Access Control in the Security tab of System Manager before the collaboration can access the roles. For more details, see the System Administration Guide.

Copyright IBM Corp. 2004, 2005