netauth entity memberships

Memberships held by the specified entity

Synopsis

The membership command adds and removes groups from an entity. These groups are direct memberships that are only influenced by EXCLUDE expansions.

The caller must posses the MODIFY_GROUP_MEMBERS capability or be a member of the group that is listed to manage the membership of the target group.

netauth entity memberships <entity> [flags]

Examples

$ netauth entity memberships demo2
Name: demo-group
Display Name: Temporary Demo Group
Number: 9

$ netauth entity memberships demo2 --fields DisplayName
Display Name: Temporary Demo Group

Options

      --fields string   Fields to be displayed
  -h, --help            help for memberships
      --indirect        Include indirect memberships (default true)

Options inherited from parent commands

      --config string   Use an alternate config file
      --entity string   Specify a non-default entity to make requests as
      --secret string   Specify the request secret on the command line

SEE ALSO

Auto generated by spf13/cobra on 18-Aug-2019