ModelFactoryGenerateOnAccountCreatedInputByOtherUser Method

Generates the input model for OnAccountCreated action

Definition

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