User - Properties
The CurrentUser (accessible from Main.User) class provides many properties for the user signed in.
Properties
Email - Read Only (String)
User email address (do NOT change this value!)
FriendlyName - Read Only (String)
User friendly name (contains msgplus color codes)
Status - Read Only (CurrentUser.Statuses)
User status
PreviousStatus - Read Only (CurrentUser.Statuses)
Previous user status
AsContact - Read Only (Contact)
Returns the current user as a Contact object so that you can log events and show alerts for the current user
AsContact - Read Only (Contact)
Returns the current user as a Contact object so that you can log events and show alerts for the current user
StorePath - Read Only (String)
Path to where all the users informaton is stored (do NOT change this value!)
Settings (CurrentUserSettings)
CurrentUserSettings object which keeps all the MessengerDiscovery settings for the user