joined_user_in_group command to have
adclient query Active Directory to see if a specified user belongs to a specified group. This command works only for users and groups within the domain to which ADEdit’s host computer is joined through
Because this command queries Active Directory through
adclient, the query might use
adclient’s cache rather than connect directly to Active Directory. The
adclient cache isn’t guaranteed to be updated with ADedit activity. Therefore, you might need to execute the Centrify UNIX command
adflush before using
joined_user_in_group to ensure you get the most up-to-date results.
joined_user_in_group user_UPN group_UPN
This command takes no options.
This command takes the following arguments:
Required. Specifies the user principal name (UPN) of the user for which you want to check group membership.
Required. Specifies the UPN of the group for which you want to check user membership.
This command returns 1 if the user is a member of the group, or 0 if the user is not a member of the group.
joined_user_in_group firstname.lastname@example.org email@example.com
This example returns 1 because
martin.moore is a member of the
The following commands performs actions related to this command: