USER UPDATE
Level
user+modify
History
Named arguments and domainName appear in 3 4 0
Description
Update value in a user attribute
Usage
user=<User ID>|<User DN> operation=(add|mod|del) attribute=<attribute> [value=<value>] [domainname=<ldap>]
The list of attributes that can be updates is:
mail
description
uid
telephoneNumber
Returns
Error code
Remark
Some update operations may require specific rights:
Access requires ADMIN right to change other administrator access
Some update operations (like password) must use specific commands
Example
user update "cn=Jean DUPONT,ou=users,o=stormshield,dc=int" add mail jean dupond@stormshield eu
100 Added mail="jean dupond@stormshield eu" for user cn=Jean DUPONT,ou=users,o=stormshield,dc=int
user update jd mod mail jean dupont@stormshield eu
100 Set mail to "jean dupont@stormshield eu" for user jd
user update jd del mail
100 Attribute "mail" removed for user jd
CACHE_CATEGORY
user