Users.GetPrimaryUser
| Module | Users | 
|---|---|
| Method | |
| Library | Core | 
| Action | Get the primary user of a device. | 
| Parameters | (None) | 
| Return values |   
 Active means currently logged on. | 
| Example | Users.GetPrimaryUser(); | 
| Platforms | 
 | 
| Notes | The following is ignored: 
 Root logins are not ignored. More detail about active (currently logged-on) users is available using Users.GetLoggedOnUsers. For Windows, historic data is also stored in the Tachyon Activity Record: User usage daily table if the Inventory module is enabled. The 28-day threshold used to analyze historical data is not configurable in this version of Tachyon. |