select_local_user_profile
Use the select_local_user_profile command to select a local UNIX or Linux user object for viewing or editing. The user that you specify remains selected until you execute the save_local_user_profile command.
You typically use select_local_user_profile to select a user profile before you execute get_local_user_profile_field or set_local_user_profile_field to view or edit profile information.
Zone Type
Hierarchical only.
Syntax
select_local_user_profile user_name
Abbreviation
sllup
Options
This command takes no options.
Arguments
This command takes the following argument:
| Argument | Type | Description |
|---|---|---|
| user_name | string | Required. Specifies the UNIX name of the local user to select. |
Return Value
This command returns nothing if it runs successfully.
Examples
The following example selects the object for the local UNIX or Linux user anton.splieth.
select_local_user_profile anton.splieth
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_profiledeletes a local UNIX or Linux group that has a profile defined in the current zone.delete_local_user_profiledeletes a local UNIX or Linux user that has a profile defined in the current zone.get_local_group_profile_fielddisplays the value of a profile field for the currently selected local UNIX or Linux group that has a profile defined in the current zone.get_local_groups_profiledisplays a TCL list of profiles for local groups that are defined in the current zone.get_local_user_profile_fielddisplays 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_profiledisplays a TCL list of profiles for local users that are defined in the current zone.list_local_groups_profiledisplays a list of local UNIX and Linux groups that have a profile defined in the current zone.list_local_users_profiledisplays a list of local UNIX and Linux users that have a profile defined in the current zone.new_local_group_profilecreates an object for a local UNIX or Linux group in the currently selected zone.new_local_user_profilecreates an object for a local UNIX or Linux user in the currently selected zone.save_local_group_profilesaves 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_profilesaves 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_profileselects a local UNIX or Linux group object for viewing or editing.set_local_group_profile_fieldsets 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_fieldsets the value of a field for the currently selected local UNIX or Linux user that has a profile defined in the current zone.