PA_GetIndGroupName

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_GetIndGroupName (index; userKind; groupName)

ParameterTypeDescription
indexlongNth group of type kind
userKindPA_UserKindKind of users
groupNamechar *Name of the indexTh group

Description

The routine PA_GetIndGroupName fills the string buffer pointed to by groupName with the name of the indexTh group created by the designer or administrator.

Pass one of the possible values of the enum PA_UserKind in userKind, defined in the "PublicTypes.h" header file:

typedef enum
{
   eUK_CreatedByDesigner = 0,
   eUK_CreatedByAdministrator
} PA_UserKind;

Depending on default settings or on previous calls to PA_UsePStrings or PA_UseCStrings, groupName will be a Pascal or an ANSI C string.

The max length of a user or group name is 31 chars (32 with the length byte or the 0 terminated)

Example

Get the third user created by the administrator:

   PA_GetIndUserName(3, eUK_CreatedByAdministrator, name);

See Also

No reference.

Error Handling

Use PA_GetLastError to see if an error occurred


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next