VMware Cloud Director API - GET-SystemPasswordPolicySettings
GET /admin/extension/settings/passwordPolicy
- Operation:
- GET /admin/extension/settings/passwordPolicy
- Description:
- Retrieve system password policy settings.
- Since:
- 1.5
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
{@link JAXBElement
}
- Produce media type(s):
-
application/vnd.vmware.admin.systemPasswordPolicySettings+xml
application/vnd.vmware.admin.systemPasswordPolicySettings+json
- Output type:
- SystemPasswordPolicySettingsType
- Examples
-
- Request
-
HTTP 1.1
GET /api/admin/extension/settings/passwordPolicy
Headers:
x-vcloud-authorization: M69zc2o7Ol7AuYVBAslGYbnTluZZVZKIYa1HPe8MzEk=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 796
Content-Type: application/vnd.vmware.admin.systempasswordpolicysettings+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:SystemPasswordPolicySettings
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/admin/extension/settings/passwordPolicy"
type="application/vnd.vmware.admin.systemPasswordPolicySettings+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/extension/v1.5 http://https://vcloud.example.com/api/v1.5/schema/vmwextensions.xsd">
<vmext:AccountLockoutEnabled>false</vmext:AccountLockoutEnabled>
<vmext:AdminAccountLockoutEnabled>false</vmext:AdminAccountLockoutEnabled>
<vmext:InvalidLoginsBeforeLockout>5</vmext:InvalidLoginsBeforeLockout>
<vmext:AccountLockoutIntervalMinutes>10</vmext:AccountLockoutIntervalMinutes>
</vmext:SystemPasswordPolicySettings>