6.5.1

Table Of Contents
Option Description
--account <name>
Name of the vCenter Single Sign-On user to delete.
--password-never-expires
Set this option to true if you are creating a user account for
automated tasks that have to authenticate to
Platform Services Controller, and you want to ensure that the
tasks do not stop running because of password expiration.
Use this option with care.
--password-expires
Set this option to true if you want to revert the
--password-never-expires option.
--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 user delete
Deletes the specified user inside vmdir.
Option Description
--account <name>
Name of the vCenter Single Sign-On user to delete.
--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 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.
Platform Services Controller Administration
VMware, Inc. 172