mobicontrol.sharedDevice.User

This class represents a Shared Device user.

User

Since:
  • Version 1.7 (API level 8)

Members

readonly, nullable name :string

Username.

This property is null if the username cannot be determined.

Since:
  • Version 1.7 (API level 8)
Example
if (mobicontrol.sharedDevice.isUserLoggedIn &&
        mobicontrol.sharedDevice.currentUser.name == "johndoe") {
    mobicontrol.message.createInfoDialog('Welcome John!').show();
}