
sec.userGetDescription( user-name as String ) as String
Returns the user's description. If a user with name equal to $user-name is not found, an error is returned.
| Parameters | |
|---|---|
| user-name | The name of a user. | 
http://marklogic.com/xdmp/privileges/user-get-descriptionThis function must be executed against the security database.
// execute this against the security database
 
const sec = require('/MarkLogic/security.xqy');
   
sec.userGetDescription("Jim")
=>
Jim the temp