ModelFactoryGenerateOnAccountCreatedInputByOtherUser Method

Generates the input model for OnAccountCreated action

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
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