# Inheriting users properties

**URL:** <https://forum.inductiveautomation.com/t/inheriting-users-properties/11347>\
**Category:** Ignition\
**Created:** [March 11, 2016, 1:27pm UTC](https://forum.inductiveautomation.com/t/inheriting-users-properties/11347 "2016-03-11T13:27:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [March 11, 2016, 1:27pm UTC](https://forum.inductiveautomation.com/t/inheriting-users-properties/11347/1 "2016-03-11T13:27:43Z")

</div>

Hi,  
I would like to structure my security as follows:

- a number of basic roles (about 30) are defined by me in the gateway at design time;
- about 10 basic users are defined by me in the gateway at design time: each of them has its own mix of basic roles;
- the site manager will be able at runtime to define new users only by inheriting from one of the 10 basic users.

Is that possible? I’m investigating if there’s a script command to create a new user based on an existing user, sort of system.user.createNew(“name”,“password”,“basedOn”): is there anything like that or a possible workaround?

Thanks in advance
