共用方式為


SPWebApplication.SendLoginCredentialsByEmail property

取得或設定一個值,指出是否新使用者的登入認證傳送給他們的電子郵件建立其帳戶時。

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

Syntax

'宣告
Public Property SendLoginCredentialsByEmail As Boolean
    Get
    Set
'用途
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如果傳送登入認證傳送給新的使用者的電子郵件時建立其帳戶 ;否則,請false。預設值為true。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace