getUserRoles
This function gets the user roles. This function returns a list of objects, either application roles or groups, depending on the roleType
. If the user or role does not exist, it returns null
.
Signature:
ids:getUserRoles(userName, roleType, direct)
Arguments:
-
userName
: String or element containing the user whose roles are to be retrieved. -
roleType
: The role type that takes one of three values:ApplicationRole
,EnterpriseRole
, orAnyRole
. -
direct
: A string or element indicating if direct or indirect roles must be fetched. This is optional. If not specified, only direct roles are fetched. This is eitherxsd:boolean
orstring true/false
.
Property IDs:
-
namespace-uri
:http://xmlns.oracle.com/bpel/services/IdentityService
-
namespace-prefix
:ids