join- Command Remove Users from Native Groups

join- Command Remove Users from Native Groups
capamsc141
capamsc141
Valid in the native environments
The join command removes users from a group.
This command also exists in the AC environment but operates differently.
To use the join command, one of the following conditions must be true:
  • You have the ADMIN attribute.
  • The group record is within the scope of a group in which you have the GROUPADMIN attribute.
  • You are the owner of the group record in the database.
  • You have JOIN or MODIFY access authority in the access control list of the GROUP record in the ADMIN class.
If you only have ownership of the user's profile, you do not have sufficient authority to remove the user from a group. Both the MODIFY and JOIN properties are required if an ADMIN is to have the authority to modify 
records and native groups
This command has the following format:
{join |j } userName group(groupName)
  • group(
    groupName
    )
    Specifies the native group from which to remove the user.
  • userName
    Specifies the user name of the user you want to remove from the group. When removing more than one user from the group, enclose the list of user names in parentheses and separate the user names with a space or a comma.
Example
The user Bill wants to remove the users sales25 and sales43 from the PAYROLL group.
  • The user Bill has the ADMIN attribute and the current environment is
    native
    .
join (sales25 sales43) group(PAYROLL)