# How to create a new user in WorkflowGen using SQL script

**URL:** <https://discuss.workflowgen.com/t/how-to-create-a-new-user-in-workflowgen-using-sql-script/517>\
**Category:** Directory Management\
**Created:** [January 30, 2015, 8:01am UTC](https://discuss.workflowgen.com/t/how-to-create-a-new-user-in-workflowgen-using-sql-script/517 "2015-01-30T08:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [January 30, 2015, 8:01am UTC](https://discuss.workflowgen.com/t/how-to-create-a-new-user-in-workflowgen-using-sql-script/517/1 "2015-01-30T08:01:35Z")

</div>

The following SQL query examples can be run directly in SQL Server Management Studio for SQL Server or in SQL Developer for Oracle.

1. Add a new user (`John Doe` in this example) to the WorkflowGen directory with the minimum information required.

2. Give the new user (`John Doe`) either an Administrator profile or a User profile.

3. Assign the new user (`John Doe`) to the `My Group 1` group in the WorkflowGen directory.
