xdmp:privilege-name( $id as xs:unsignedLong ) as xs:string
Return the name of the specified privilege.
xdmp:privilege-name(432987324) => "grant-all-roles"