// This file is autogenerated, DO NOT EDIT
// security/authentication/saml-guide.asciidoc:944

[source, python]
----
resp = client.security.put_user(
    username="saml-service-user",
    password="<somePasswordHere>",
    roles=[
        "saml-service-role"
    ],
)
print(resp)
----
