Required Parameter Group: | |||
1 | grplist | Input | Binary(4) |
2 | grp | Input | Binary(4) |
3 | user | Input | Char(*) |
4 | user_len | Input | Binary(4) |
5 | usr | Output | Binary(4) |
6 | errcode | I/O | Char(*) |
Threadsafe: Yes |
Use the QzhbAddUserToGroup API to add a new user to an in-memory group.
The group list handle returned from a call to the QzhbCreateGroupList or QzhbOpenGroupList API.
The group handle returned from a call to the QzhbGetNextGroup, QzhbFindGroupInList, or QzhbAddGroupToList API.
The user name to be added to the group.
The length of the user string. The length must be greater than or equal to 1.
The handle of the newly created user, or the handle of an existing user if the named user already exists in the group. Attempting to add a user that already exists is not considered an error by the system.
The structure in which to return error information.