Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Info

Non-static operation.

Multiexcerpt
MultiExcerptNamedefinition

This operation returns a list of all roles that have been assigned to the current user. You need a current security service object to call this operation (which you can get using getSecurityService).

Interfaces

  • getCurrentUserRoles() : Array of String
  • getCurrentUserRoles(in filterRoles : String[]) : Array of String

Parameters

NameTypeDirectionDescriptionAllowed Values / Example
filterRolesArray of Stringin

Specify a list of roles that will be used to filter the available roles.

acme_manager, acme_employee

Array of StringreturnReturns a list roles that have been assigned to the current user. If filterRoles has been specified, the list only contains roles from the filter that have been assigned.acme_employee
Panel
titleOn this Page:
Table of Contents
Panel
titleRelated Pages:

Otp
Floatingfalse

rp