CLI 参考 > 服务器管理命令 > im dynamicgroups
  
im dynamicgroups
displays the list of dynamic groups
Synopsis
im dynamicgroups [--fields=field1[:width1],field2[:width2]...] [--fieldsDelim=value] [--height=value] [--width=value] [-x value] [-y value] [--[no]confirm] [--user=name] [--hostname=server] [--password=password] [--port=number] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--quiet] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [-g|--gui] [--settingsUI=[gui|default]] [--status=[none|gui|default]] dynamic group...
Description
im dynamicgroups displays the list of dynamic groups. By default, all dynamic groups are selected to be displayed.
Options
This command takes the universal options available to all im commands, as well as some general options. See the options reference page for descriptions.
--fields=field1[:width1],field2[:width2]...
specifies the dynamic group fields to display and the width of each field in pixels.
The dynamic group fields you can specify are:
membership
displays only the projects the project administrator is assigned to.
To display projects that do not have any groups and users as members of the dynamic group, specify the nomembers keyword, for example, --membership=/Project=nomembers.
* 
Caution: If you are a project administrator, the im dynamicgroups --fields=membership command displays a subset of the projects in your Windchill RV&S configuration. If a super administrator uses that list of projects when specifying im editdynamicgroup --membership, the membership for the projects that the project administrator does not have permission to view are removed.
id
displays the ID of the dynamic group in the database. This option is for PTC 技术支持 only.
name
displays the name of the dynamic group.
description
displays a description of the dynamic group.
image
displays whether there is an image, and if so, whether it uses the default dynamic group image or a custom image.
references
displays a list of object references.
--fieldsDelim=value
specifies the character to use to separate dynamic group fields, for example, "*" or ",". The following is an example of dynamic groups output using * as a field delimiter value:
QA Scripts Group*Groups and individuals permitted to work in the QA Scripts project
dynamic group...
specifies the names of the dynamic groups.
See Also
Commands: im createdynamicgroup, im editdynamicgroup, im viewdynamicgroup, im deletedynamicgroup
Miscellaneous: options