Last modified 13 Mar 2024 13:32 +01:00
Get Users Value Policy
curl --user administrator:y0uR_P455woR*d \
-H "Accept: application/json" \
-X GET http://localhost:8080/midpoint/ws/rest/users/00000000-0000-0000-0000-000000000002/policy \
-v

The response is an HTTP 200 code in case of success with a response body containing the queried item.

Example Output of "Get Users Value Policy" example
{
  "@ns" : "http://prism.evolveum.com/xml/ns/public/types-3",
  "object" : {
    "@type" : "c:CredentialsPolicyType",
    "password" : {
      "minOccurs" : "0",
      "lockoutMaxFailedAttempts" : 3,
      "lockoutFailedAttemptsDuration" : "PT3M",
      "lockoutDuration" : "PT15M",
      "valuePolicyRef" : {
        "oid" : "00000000-0000-0000-0000-000000000003",
        "relation" : "org:default",
        "type" : "c:ValuePolicyType",
        "targetName" : "Default Password Policy"
      }
    }
  }
}
Was this page helpful?
YES NO
Thanks for your feedback