SaguiItay

My blog has moved!

You should be automatically redirected in 4 seconds. If not, visit:
http://itaysagui.wordpress.com
and update your bookmarks.

Thursday, August 2, 2007

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

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home