<< 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 groupName, string parentGroupID, string description)

Creates a new group and returns its ID.

Parameters:

groupName - The group name

parentGroupID - The parent group ID

description - The group description

CreateUser

public string CreateUser(string userName, string password, string description)

Creates a new user and returns its ID.

Parameters:

userName - The user name

password - The user password

description - The user description

CreateUserInGroup

public string CreateUserInGroup(string uName, string pwd, string gID, string desc) throws OZCPException

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

Parameters:

uName - The user name

Pwd - The user password

gID - The group ID

desc - The user description