Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Assigns the specified password to the specified user.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub SetUserNamePassword ( _
userName As String, _
password As String _
)
'Usage
Dim instance As SPBackupRestoreInformation
Dim userName As String
Dim password As String
instance.SetUserNamePassword(userName, _
password)
public void SetUserNamePassword(
string userName,
string password
)
Parameters
userName
Type: System.StringThe user.
password
Type: System.StringThe password for the user.
See Also
Reference
SPBackupRestoreInformation Class