
sec.userSetDescription( user-name as String, description as String ) as null
Changes the description of the user identified by $user-name to $description.
| Parameters | |
|---|---|
| user-name | The name of the user. |
| description | A description of the user. |
http://marklogic.com/xdmp/privileges/user-set-description
if the current user is not $user-name.
This function must be executed against the security database.
declareUpdate();
const sec = require('/MarkLogic/security.xqy');
sec.userSetDescription(
"Bill",
"Senior QA Engineer")
// Changes the description of the user, "Bill."
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.