다음을 통해 공유


SPDatabase.AddLogon method (String, SecureString, String, Boolean)

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

Syntax

'Declaration
Public Sub AddLogon ( _
    username As String, _
    securePassword As SecureString, _
    role As String, _
    ensureUserExists As Boolean _
)
'Usage
Dim instance As SPDatabase
Dim username As String
Dim securePassword As SecureString
Dim role As String
Dim ensureUserExists As Boolean

instance.AddLogon(username, securePassword, _
    role, ensureUserExists)
public void AddLogon(
    string username,
    SecureString securePassword,
    string role,
    bool ensureUserExists
)

Parameters

See also

Reference

SPDatabase class

SPDatabase members

AddLogon overload

Microsoft.SharePoint.Administration namespace