Share via


SPBackupRestoreConsole.GetUserNamePasswordList method

Gets a collection of all the components in the backup or restore operation that require a username and password.

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

Syntax

'Declaration
Public Shared Function GetUserNamePasswordList ( _
    id As Guid, _
    node As SPBackupRestoreObject _
) As SPBackupRestoreObjectCollection
'Usage
Dim id As Guid
Dim node As SPBackupRestoreObject
Dim returnValue As SPBackupRestoreObjectCollection

returnValue = SPBackupRestoreConsole.GetUserNamePasswordList(id, _
    node)
public static SPBackupRestoreObjectCollection GetUserNamePasswordList(
    Guid id,
    SPBackupRestoreObject node
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectCollection
A SPBackupRestoreObjectCollection that represents all the components in the backup or restore operation that require a username and password.

See also

Reference

SPBackupRestoreConsole class

SPBackupRestoreConsole members

Microsoft.SharePoint.Administration.Backup namespace