getFullName()

The method returns the full name of a user, a group or an area.

Synopsis

public langString getFullName();

Return Value

The full name of a user, a group or an area.

Errors

Errors are shown in the log viewer.

EXAMPLE

#uses "classes/userManagement/UserManagement"
main(mapping event)
{
  shared_ptr<UserManagement> userMgm  = UserManagement::getInstance();
  shared_ptr<UserManagementGroup> GroupData;
  dyn_anytype allGroups = userMgm.getAllGroups();
  /*Returns all groups and then returns the groups by name. The group names and IDs
  are output */
  for (int i =1; i<dynlen(allGroups); i++)
  {
    GroupData = userMgm.getGroupByName(allGroups[i].getName());
    DebugN("Get group:", GroupData.getName(),GroupData.getGroupIds() );
    DebugN("get fully qualified name:", GroupData.getFullName() );
  }
}

Assignment

User administration

See also