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)
Available in Sandboxed Solutions: No

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