| 4D v13.4Get default user | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v13.4
 Get default user 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Get default user -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| Function result | Longint |   | 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:
| ID | User description | 
| 1 | Designer | 
| 2 | Administrator | 
| 3 to 15000 | User created by Designer (user #3 is the 1st user created by Designer, user #4 is the second, and so on). | 
| -11 to -15010 | User 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.
	Product:  4D
	Theme:  Users and Groups
	Number:  
        826
        
        
        
	
	Created:  4D 2004