Package com.enonic.xp.security

## Class User.Builder

- java.lang.Object
- - com.enonic.xp.security.Principal.Builder<User.Builder>
  - - com.enonic.xp.security.User.Builder

- Enclosing class:
    User

      public static class User.Builder
      extends Principal.Builder<User.Builder>

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `User.Builder` | `authenticationHash​(String value)` |
    `User` | `build()` |
    `User.Builder` | `disabled​(boolean loginDisabled)` |
    `User.Builder` | `email​(String value)` |
    `User.Builder` | `login​(String value)` |
    `User.Builder` | `profile​(PropertyTree profile)` |
    `protected void` | `validate()` |

    - ### Methods inherited from class com.enonic.xp.security.Principal.Builder

      `description, displayName, key, modifiedTime`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### login

          public User.Builder login​(String value)

    - #### email

          public User.Builder email​(String value)

    - #### authenticationHash

          public User.Builder authenticationHash​(String value)

    - #### profile

          public User.Builder profile​(PropertyTree profile)

    - #### disabled

          public User.Builder disabled​(boolean loginDisabled)

    - #### validate

          protected void validate()

    - #### build

          public User build()