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
- accountName
Type: System.String
- createSiteIfNotExists
Type: System.Boolean
- siteCreationPriority
Type: Microsoft.SharePoint.Client.UserProfiles.PersonalSiteCreationPriority
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>