Remove user with JS

Enonic version: 6.13.1
OS: Centos 6

Hi,

I try to delete a user with JS. I see that there is not any function for that in the documentation:
http://repo.enonic.com/public/com/enonic/xp/docs/6.13.1/docs-6.13.1-libdoc.zip!/module-auth.html

Thanks.

There was a new function added in 6.14: deletePrincipal
It can be used to delete users, groups or roles.

3 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.