Class: SecurityService

tibco.objectapi.service.SecurityService

new SecurityService()

Methods

getUserPrivileges(request, callback)

Returns the privilege assignments for the resource identified by the given GUID. The privileges are derived from the groups and positions to which the resource belongs.
Parameters:
Name Type Description
request tibco.objectapi.service.request.GetUserPrivilegesRequest A request set with data for this service call.
callback tibco.objectapi.service.Callback A callback to handle the service response of type GetUserPrivilegesResponseType.

isActionAuthorised(request, callback)

Tests whether the identified performer is authorised to perform the named system action in the context of the optional scoping organizational entity.
Parameters:
Name Type Description
request tibco.objectapi.service.request.IsActionAuthorisedRequest A request set with data for this service call.
callback tibco.objectapi.service.Callback A callback to handle the service response of type IsActionAuthorisedResponseType.

listActionAuthorisedEntities(request, callback)

Lists the organization model entities on which the caller is authorized to perform a specific system action.
Parameters:
Name Type Description
request tibco.objectapi.service.request.ListActionAuthorisedEntitiesRequest A request set with data for this service call.
callback tibco.objectapi.service.Callback A callback to handle the service response of type ListActionAuthorisedEntitiesResponseType.

listAuthorisedOrgs(request, callback)

/** Lists the organizations on which the caller is authorized to perform a specific system action.

In addition to testing the named system action, this function limits the organizations to those to which the calling user has access (because of organization relationships).

Parameters:
Name Type Description
request tibco.objectapi.service.request.ListAuthorisedOrgsRequest A request set with data for this service call.
callback tibco.objectapi.service.Callback A callback to handle the service response of type ListAuthorisedOrgsResponseType.