# user Data Type

This class represents a user.

Namespace
  (Default)
Schema
  ns0.xsd

Properties
name | data type | type | namespace | min/max occurs | description
--- | --- | --- | --- | --- | ---
accountNonExpired | boolean | element |  | 1/1 | If the account is not expired
accountNonLocked | boolean | element |  | 1/1 | If the account is not locked
credentialsNonExpired | boolean | element |  | 1/1 | If the credentials are not expired
enabled | boolean | element |  | 1/1 | If the account is enabled
id | string | element |  | 0/1 | The unique id of this object. This value is auto-generated when the DAO saves this object
password | string | element |  | 0/1 |
roles | string | element |  | 0/unbounded | The roles assigned to this user.
username | string | element |  | 0/1 | The username

Example

    <u----->
      <id>58e3946e0fb4f562d84ba1ad</id>
      <password>...</password>
      <username>user</username>
      <accountNonExpired>true</accountNonExpired>
      <accountNonLocked>true</accountNonLocked>
      <credentialsNonExpired>true</credentialsNonExpired>
      <enabled>true</enabled>
      <roles>["ADMIN","USER"]</roles>
    </u----->