getInstance()

The method returns an instance for the UserManagement class (wincc_oa_path/scripts/libs/userManagement/UserManagement.ctl).

Synopsis

static public shared_ptr<UserManagement> getInstance();

Return Value

An instance of the UserManagement class.

Errors

Errors are shown in the log viewer.

EXAMPLE

#uses "classes/userManagement/UserManagement"
main(mapping event)
{
  shared_ptr<UserManagement> um = UserManagement::getInstance();
}

Assignment

User administration

See also

getPermissionDescription()