+ Start a Discussion
sdbsdb 

New user email does not include password

When a user registers for our site they get a new user email generated by Salesforce. However, the email contains only the user's username, not the password.

 

Here is how the new user is created:

 

Site.createPortalUser(user, accountId, password, true);

 

Is there anyway to get the password into the email sent to the new user?