Share via


SPDatabase.AddLogon method (String, SecureString, String)

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 _
)
'Usage
Dim instance As SPDatabase
Dim username As String
Dim securePassword As SecureString
Dim role As String

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

Parameters

See also

Reference

SPDatabase class

SPDatabase members

AddLogon overload

Microsoft.SharePoint.Administration namespace