Get default user

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004


Get default user Number

ParameterTypeDescription
This command does not require any parameters
Function resultNumberUnique user ID number

Description

The Get default user command returns the unique user ID of the user set as "Default user" in the database Preferences dialog box:

The following numbers can be used as user IDs:

IDUser description
1Designer
2Administrator
3 to 15000User created by Designer (user #3 is the 1st user created by Designer,
user #4 is the second, and so on).
-11 to -15010User created by the Administrator (user #-11 is the 1st user created by
Administrator, user #-12 is the second, and so on).

If no default user has been set, the command returns 0.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next