get_local_groups_profile

Use the get_local_groups_profile command to return a TCL list of profiles for local groups that are defined in the currently selected zone.

Zone type

Hierarchical only.

Syntax

get_local_groups_profile

Abbreviation

glgp

Options

This command takes no options.

Arguments

This command takes no arguments.

Return value

If you run this command from the command line, it returns a TCL list of profiles for local groups that are defined in the currently selected zone. The list is sorted by group UNIX name.

If you run this command in a script, no output is returned to stdout, and no output appears in the shell where the script is executed. To return output to stdout from a script, use the list_local_groups_profile command.

Examples

The following example shows a TCL list of profiles for local groups that are defined in the current zone.

get_local_groups_profile
lg001 lg002 lg003 lg005 lg006 lg007

Related commands

The following related ADEdit commands let you view and administer local UNIX and Linux users and groups that have profiles defined in the current zone:

  • delete_local_group_profile deletes a local UNIX or Linux group that has a profile defined in the current zone.
  • delete_local_user_profile deletes a local UNIX or Linux user that has a profile defined in the current zone.
  • get_local_user_profile_field displays the value of a profile field for the currently selected local UNIX or Linux user that has a profile defined in the current zone.
  • get_local_users_profile displays a TCL list of profiles for local users that are defined in the current zone.
  • list_local_groups_profile displays a list of local UNIX and Linux groups that have a profile defined in the current zone.
  • list_local_users_profile displays a list of local UNIX and Linux users that have a profile defined in the current zone.
  • new_local_group_profile creates an object for a local UNIX or Linux group in the currently selected zone.
  • new_local_user_profile creates an object for a local UNIX or Linux user in the currently selected zone.
  • save_local_group_profile saves the currently selected local UNIX or Linux group object after you create the group object or edit profile field values in the group object.
  • save_local_user_profile saves the currently selected local UNIX or Linux user object after you create the user object or edit profile field values in the user object.
  • select_local_group_profile selects a local UNIX or Linux group object for viewing or editing.
  • select_local_user_profile selects a local UNIX or Linux user object for viewing or editing.
  • set_local_group_profile_field sets the value of a field for the currently selected local UNIX or Linux group that has a profile defined in the current zone.
  • set_local_user_profile_field sets the value of a field for the currently selected local UNIX or Linux user that has a profile defined in the current zone.