|
IUserAddNewUser Method
|
Adds a new User.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax User AddNewUser(
User userInfo,
bool? sendWelcomeEmail = true
)
Function AddNewUser (
userInfo As User,
Optional sendWelcomeEmail As Boolean? = true
) As User
Parameters
- userInfo User
- User object.
Mandatory data members:
- BusinessUnitGUID. Identifies to which unit the user belongs to.
- FirstName. First name of the user. If user has 2nd name, it should be added here.
- LastName. Surname of the user.
- Email. Email of the user is the email that user will use in login.
Default values for optional members:
- IsActive: True by default, cannot be disabled.
- sendWelcomeEmail NullableBoolean (Optional)
- An optional parameter to control whether the welcome email should be sent or not. True when not explicitly specified.
Return Value
UserUser object.
Exceptions Remarks Email must be unique.
See Also