IMPORTANT
Les versions SNS 3.x ne sont plus maintenues depuis le 1er juillet 2024.
Nous vous recommandons de mettre à jour vos firewalls SNS vers une version maintenue afin d’assurer la protection de votre infrastructure.
USER UPDATE
Level
user,modify
History
Named arguments and domainName appear in 3.4.0
Description
Update value in an user attribut.
Usage
user=<User ID>|<User DN> operation=(add|mod|del) attribute=<attribute> [value=<value>] [domainname=<ldap>]
The list of updatable attribute is :
mail
description
uid
telephoneNumber
Returns
Error code
Remark
Some update operations may require specific rights :
Access require ADMIN 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