how to hide create a new user option in code


How to hide user create option in code for perticular doctype .Is this posssible.

HI @praful99665:

Actually it depends on permissions. Remove user create permission for this role and option will dissapear …

Hope this helps.

1 Like