Click or drag to resize

IUserAddNewUser Method

Adds a new User.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
User AddNewUser(
	User userInfo,
	bool? sendWelcomeEmail = true
)

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

User
User object.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
NoPermissionExceptionAPI user does not have permission to perform the action.
GeneralFailureExceptionAny other fault.
Remarks
Email must be unique.
See Also