chusergrp
Use the chusergrp command to change the attributes of an existing user group.
Syntax
Parameters
- -role role_name
- (Optional) Specifies the role to be associated with users that belong to this group. One of the following roles must be selected: Monitor, CopyOperator, FlashCopyAdmin, Service, Administrator, or SecurityAdmin.
- -remote yes | no
- (Optional) Specifies whether this user group should be used to set the role of remote users. Either the yes or no option must be set.
- -ownershipgroup owner_id | owner_name
- (Optional) The name or ID of the ownership group to which the object is being added.
- -noownershipgroup
- (Optional) If specified, the object is removed from the ownership group to which it belongs.
- group_id | group_name
- (Required) The ID or name of the user group whose attributes are to be changed.
Description
Use the chusergrp command to modify the attributes of an existing user group.
You must have the Security Administrator role to create, delete, or change a user. You can issue all commands except for sainfo and satask commands. These commands can only be issued by user superuser.
The roles of the default groups cannot be changed.
An invocation example
chusergrp -role Administrator adminThe resulting output:
No feedbackAn invocation example changing the ownership of a user group
chusergrp -ownershipgroup 2 myusergroup
The following output is displayed:
No feedbackAn invocation example moving the user group to no ownership
chusergrp -noownershipgroup myusergroup
The following output is displayed:
No feedback