Skip to content

SendLogonRegistrationEMail

Sends a logon registration email to the specified user.

1
$Membership.SendLogonRegistrationEMail(identity: ( string | Identity ), service?: string):void

Parameters

( string | Identity ) identity
    The user identity to whom the logon registration email should be sent.

string service optional
    Optional service selection. When provided user only allowed to register with selected service.

Remarks

Nothing is sent when the identity is not found or has no e-mail address.

Examples

Invite a new user

1
$Membership.SendLogonRegistrationEMail($Membership.FindIdentity('john.doe'));