CmdID

CmdID / az / az ad / az ad user

az ad user get-member-groups

Get groups of which the user is a member Azure CLI reference

1 example 1 option Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Get groups of which the user is a member

az ad user get-member-groups --id myuser@contoso.comIdentify
--idThe object ID or principal name of the user for which to get information

Options

1 in the Azure CLI reference
--security-enabled-onlytrue to specify that only security groups that the entity is a member of should be returned; false to specify that all groups and directory roles that the entity is a member of should be returned.