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
id
Type: System.GuidThe Guid ID of the SPBackupRestoreConsoleObject that represents the backup or restore operation.
node
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectThe SPBackupRestoreObject that represents the component at the root of the tree of components from which the collection that requires authenticated access is drawn.
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.