Creating a user in Documentum

Here’s 2 ways to create a user in Documentum:

Using the DQL:

create dm_cabinet object
set object_name = '%USERNAME%'
go

create dm_user object
set user_name = '%USER DISPLAY NAME%',
set default_folder = '/%USERNAME%',
set user_os_name = '%USERNAME%',
set user_privileges = '%PRIVILEGES%',
set user_address = '%USER EMAIL%'
go

Using the IAPI:

create,c,dm_user
set,c,l,user_name
set,c,l,user_os_name
set,c,l,user_address
save,c,l