Remove a User or Element from a Group (QzhbRemoveUserFromGroup) API

In the IBM® HTTP Server for i, use the QzhbRemoveUserFromGroup() API to remove a user from an in-memory group.

Required Parameter Group:
1 grplist Input Binary(4)
2 grp Input Binary(4)
3 usr Input Binary(4)
4 errcode I/O Char(*)
Threadsafe: Yes

Authorities and locks

None.

Required parameter group

grplist
INPUT:BINARY(4)

The group list handle returned from a call to the QzhbCreateGroupList() or QzhbOpenGroupList() API.

grp
INPUT:BINARY(4)

The group handle returned from a call to the QzhbGetNextGroup(), QzhbFindGroupInList(), or QzhbAddGroupToList() API.

usr
INPUT:BINARY(4)

The user handle returned from a call to the QzhbGetNextUser(), QzhbFindUserInGroup(), or QzhbAddUserToGroup() API.

errcode
I/O:CHAR(*)

The structure in which to return error information.

Error messages

CPF3CF1 E
Error code parameter not valid.
HTPA001 E
Input parameter &1 not valid.
HTPA203 E
Input group list handle in parameter &1 not valid.
HTPA204 E
Input group handle in parameter &1 not valid.
HTPA205 E
Input user handle in parameter &1 not valid.