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
- username
Type: System.String
- securePassword
Type: System.Security.SecureString
- role
Type: System.String