SPWebApplication.SendLoginCredentialsByEmail property

Gets or sets a value indicating whether a new user's login credentials are sent to them by e-mail when their account is created.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property SendLoginCredentialsByEmail As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.SendLoginCredentialsByEmail

instance.SendLoginCredentialsByEmail = value
public bool SendLoginCredentialsByEmail { get; set; }

Property value

Type: System.Boolean
true if send login credentials are sent to new users by e-mail when their account is created; otherwise, false. The default value is true.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace