ModelFactoryGenerateOnAccountCreatedInputByOtherUser Method

Generates the input model for OnAccountCreated action

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static OnAccountCreatedModel GenerateOnAccountCreatedInputByOtherUser(
	AccountDto userBeingCreated,
	string temporaryPassword,
	AccountDto createdBy
)

Parameters

userBeingCreated  AccountDto
The new account that has been created.
temporaryPassword  String
The temporary password for the new user userBeingCreated
createdBy  AccountDto
The user that created the new account.

Return Value

OnAccountCreatedModel
Generated create model

Exceptions

ArgumentNullExceptionThrown if userBeingCreated or createdBy is
ArgumentExceptionThrown if temporaryPassword is IsNullOrEmpty(String)

See Also