6.7

Table Of Contents
dir-cli user find-by-name
Finds a user inside vmdir by name. The information that this command returns depends on what you
specify in the --level option.
Option Description
--account <name>
Name of the vCenter Single Sign-On user to delete.
--level <info level 0|1|2>
Returns the following information:
n
Level 0 - Account and UPN
n
Level 1 - level 0 info + First and last name
n
Level 2 : level 0 + Account disabled flag, Account locked
flag, Password never expires flag, password expired flag
and password expiry flag.
The default level is 0.
--login <admin_user_id>
The administrator of the local vCenter Single Sign-On domain,
administrator@vsphere.local by default.
--password <admin_password>
Password of the administrator user. If you do not specify the
password, you are prompted.
dir-cli group modify
Adds a user or group to an already existing group.
Option Description
--name <name>
Name of the group in vmdir.
--add <user_or_group_name>
Name of the user or group to add.
--login <admin_user_id>
The administrator of the local vCenter Single Sign-On domain,
administrator@vsphere.local by default.
--password <admin_password>
Password of the administrator user. If you do not specify the
password, you are prompted.
dir-cli group list
Lists a specified vmdir group.
Option Description
--name <name>
Optional name of the group in vmdir. This option allows you to
check whether a specific group exists.
--login <admin_user_id>
The administrator of the local vCenter Single Sign-On domain,
administrator@vsphere.local by default.
--password <admin_password>
Password of the administrator user. If you do not specify the
password, you are prompted.
Platform Services Controller Administration
VMware, Inc. 165