Lock.Username Property

 Lock.Username  (read-only, String)
 
If locked, returns the login username of the Lock owner; if unlocked, returns the empty string

Syntax

Lock.Username

The property syntax has these parts:

Part Description
Value (String) If locked, returns the login username of the Lock owner; if unlocked, returns the empty string

Remarks

If the observatory is locked by the local user, this will be "local_user".