Class NewUser

java.lang.Object
ch.ivyteam.ivy.security.user.NewUser

public class NewUser extends Object
Holds information about the new user to create. Use method create(String) and the associated NewUser.Builder to create NewUser objects.
Since:
8.0.3
API:
This is a public API.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Builds NewUser objects
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String name)
    Creates NewUser objects
  • Method Details

    • create

      public static NewUser.Builder create(String name)

      Creates NewUser objects

      
       NewUser newUser = NewUser.create("Reto").fullName("Reto Weiss").password("gugus").toNewUser();
       
      Parameters:
      name - the name of the user
      Returns:
      builder to specify the attributes of the NewUser
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.