NGODeleteMemberFromGroup

This call is used to delete a User from a gGroup. This call simply disassociates the User from that gGroup. A User can remove self from a gGroup of which he is the Owner, but cannot remove himself from a group Group of which he is not the Owner.

 

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.

NGODeleteMember

FromGroup

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

UserIndex

Root

Index of the User who is to be removed from a groupGroup.

Integer > 0

N/A

GroupIndex

Root

Index of the Group from which the specified User is to be disassociated.

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

-50062

Logged in User cannot perform operation on self.

The logged in User tries to remove self from a group Group of which he is not the Owner.

-50003

User does not exist.

The User who is to be removed from a group Group does not exist.

-50013

Group not found.

The group Group to which the User is to be added does not exist.

-50074

Invalid parameters.

The value for some input parameter is not correct or is invalid. The exception will come when group Group iIndex is passed as null.

-50117

Properties of System Groups cannot be modified.

No member can be explicitly removed from ‘Everyone’ groupGroup.

-50066

Group has expired.

The gGroup to which the User is to be added has expired.

-50116

Insufficient privileges for the current operation.

User does not have pPrivilege to delete the member from gGroup.