UserBuilder Method (String)
public static IUserBuilder Builder( string key )
Public Shared Function Builder ( key As String ) As IUserBuilder
This is the preferred method for building a User if you are setting properties besides the Key. The IUserBuilder has methods for setting any number of properties, after which you call Build to get the resulting User instance.
This is different from using the extension methods such as AndName(User, String), which modify the properties of an existing User instance. Those methods are now deprecated, because in a future version of the SDK, User will be an immutable object.