Monthly Archives: June 2009

Useful APIs: How to add a group to a group

The following API commands will add a group to another group.

retrieve,c,dm_group where group_name = ‘special_task_force_committee’
append,c,l,groups_names
special_ops
save,c,l

Advertisements

Useful APIs: How to add an user to a group

The following API commands will add an user to a group.

retrieve,c,dm_group where group_name = ‘special_ops’
append,c,l,users_names
JOHN TAN
save,c,l


Useful Queries: How to create a group

The following DQL will create a group.

create “dm_group” object set group_name=’special_ops’


Useful Queries: How to create an user

The following DQL will create an inline user.

create “dm_user” object
set client_capability=2,
set user_address=’johntan@localhost’,
set user_name=’JOHN TAN’,
set user_login_name=’johntan’,
set user_source=’inline password’
set user_password=’password’;