xdmp.roleName( role-id as (Number|String) ) as String
Returns the role name for the specified role id. This function can be evaluated against any database and does not need to be evaluated directly against the security database. It returns the role name from the security database configured for the database in which the App Server evaluates against.
Parameters | |
---|---|
role-id | A role ID. |
xdmp.role(2392349873545); => "editor"