NGODeleteGroup

This call is used to delete an existing group Group from the sSystem. Default Groups, which that are created at the time of dDatabase creation, cannot be deleted. Also, User who is member of a gGroup cannot delete the gGroup. User must have pPrivilege to delete a gGroup from the sSystem.

 

Input Parameter description

View sample InputXml

Output Parameter description

View sample OutputXml

Errors and Warnings

 

 

Input Parameters description

Name

Parent Tag

Description

Valid Values

Default

Values

Option

Root

Unique option for the call.

NGODeleteGroup

N/A

CabinetName

Root

Name of the Cabinet to which the User wants to connect.

 

N/A

UserDBId

Root

UserDatabase ID, which that is returned in the NGOConnect

Cabinet call.

 

N/A

GroupIndex

Root

Index of the gGroup, which that is to be deleted.

Integer > 0

N/A

 

Output Parameters description

Name

Parent Tag

Description

Option

Root

Unique option for the call.

Status

Root

Status of the call. If the Status is 0, then the call is successful.

 

Errors returned from call

Code

Message

Comments

-50016

Group not found.

Group that is to be deleted does not exist in the systemSystem.

-50085

System groups cannot be deleted.

The default groupsGroups, which that are created at the time of Cabinet creation Creation (Supervisor, Everyone, and Public groups) cannot be deleted.

-50135

Member cannot delete group.

User who is member of a group Group cannot delete that groupGroup.  

-50116

Insufficient privileges for the current operation.

User does not have privileges Privileges to delete the groupGroup.