AdminId.GetGroup Method

Returns group information from an admin.

GroupId GetGroup(int index, char[] name, int maxlength)

Parameters

int index

Group number to retrieve, from 0 to N-1, where N is the value of the GroupCount property.

char[] name

Buffer to store the group's name. Note: This will safely chop UTF-8 strings.

int maxlength

Maximum size of the output name buffer.

Return Value

A GroupId index and a name pointer, or INVALID_GROUP_ID and NULL if an error occurred.