4D v16.3

Get default user

Home

 
4D v16.3
Get default user

Get default user 


 

Get default user -> Function result 
Parameter Type   Description
Function result  Longint in Unique user ID number

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.

 
PROPERTIES 

Product: 4D
Theme: Users and Groups
Number: 826

 
HISTORY 

Created: 4D 2004

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)