USER REMOVE

Level

user+modify

Description

Delete an user

Implementation notes

Check if user can be removed (LDAP admin user can't be removed), remove user from groups,
revoke user cert if exists then calls fw_ldap_update().

Usage

<User ID>|<User DN>

Returns

Error code

Remark

Need ADMIN rights to revoke admin users.
User can't be removed if it is the last member of a group.

Example

USER REMOVE jd
USER REMOVE "cn=Jean DUPONT,ou=users,o=stormshield,dc=int" CACHE_CATEGORY user