|
![]() |
![]() |
version 2003
PA_GetCurrentUserID → long
Parameter | Type | Description | ||||
This command does not require any parameters | ||||||
Function result | long | ← | ID of the current user |
Description
The routine
PA_GetCurrentUserID
returns the ID of the current user.
Please refer to the 4th Dimension Language Reference manual (
GET USER LIST
) for more information on values and ranges of user IDs.
Example
Get user info.
void GetSomeCurrentUserInfo(char *name, long *id)
{
if(name)
PA_GetUserName(name);
if(id)
PA_GetCurrentUserID();
}
See Also
GET USER LIST , PA_GetUserName .
Error Handling
always returns
eER_NoErr