Share via


PeopleManager.GetDefaultDocumentLibrary method

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Function GetDefaultDocumentLibrary ( _
    accountName As String, _
    createSiteIfNotExists As Boolean, _
    siteCreationPriority As PersonalSiteCreationPriority _
) As ClientResult(Of String)
'Usage
Dim instance As PeopleManager
Dim accountName As String
Dim createSiteIfNotExists As Boolean
Dim siteCreationPriority As PersonalSiteCreationPriority
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetDefaultDocumentLibrary(accountName, _
    createSiteIfNotExists, siteCreationPriority)
public ClientResult<string> GetDefaultDocumentLibrary(
    string accountName,
    bool createSiteIfNotExists,
    PersonalSiteCreationPriority siteCreationPriority
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.SharePoint.Client.UserProfiles namespace