UserProperty

Returns the value of a named property of a Qubes user.

Syntax

UserProperty(userLogin, propName)
userLogin = a Qubes user's login
propName = name of the user property whose value you want to retrieve

Remarks

(Qubes 9.0) Returns "" if the requested login is an empty string.

Returns #VAL! if the requested user or property does not exist.

Alias functions provide direct access to certain properties.
The following properties can be accessed:

NameRetrieved informationDirect alias
FIRSTNAMEFirst nameUserFirstName(userLogin)
LASTNAMELast nameUserLastName(userLogin)
LOGINLoginUserLogin(userLogin)
MANAGERManager loginUserManager(userLogin)
Roles and positions
FUNCTIONSList of functions (Qubes 5.4)UserFunctions(userLogin)
SERVICEMain service's nameUserService(userLogin)
SITEMain site's nameUserSite(userLogin)
Detailed information
CONTRACTType of contract (temporary, permanent, etc.)UserContract(userLogin)
EMAILEmail addressUserEmail(userLogin)
FAXFax numberUserFAX(userLogin)
GSMCell phone numberUserGSM(userLogin)
PHONEMain site's telephone numberUserPhone(userLogin)

Example

If you have a user named Philip Rinaudo with a login of "pr", you will get:

UserProperty("pr", "FIRSTNAME") = "Philip"
UserFirstName("pr") = "Philip"
UserProperty("pr", "LASTNAME") = "Rinaudo"

Classification

Qubes