<< Click to Display Table of Contents >>

Creating groups and users

To create groups and users using the RepositoryEX class, use the method below:


Method Detail

createGroup

public String createGroup(String gName, String pGroupID, String desc) throws OZCPException

Creates a new group and returns its ID.

Parameters:

gName - Group name

pGroupID - Parent group ID

desc - Group description

createUser

public String createUser(String userName, String password, String desc) throws OZCPException

Creates a new user and returns its ID.

Parameters:

userName - User name

password - User password

desc - User description

createUserInGroup

public String createUserInGroup(String userName, String password, String groupID, String desc) throws OZCPException

Creates a new user in the designated group and returns the user ID.

Parameters:

userName - User name

password - User password

groupID - Group ID

desc - User description