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