UserProfilePropertiesForUser constructor (ClientRuntimeContext, String, String[])

Initializes a new instance of a UserProfilePropertiesForUser object.

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

Syntax

'Declaration
Public Sub New ( _
    context As ClientRuntimeContext, _
    accountName As String, _
    propertyNames As String() _
)
'Usage
Dim context As ClientRuntimeContext
Dim accountName As String
Dim propertyNames As String()

Dim instance As New UserProfilePropertiesForUser(context, _
    accountName, propertyNames)
public UserProfilePropertiesForUser(
    ClientRuntimeContext context,
    string accountName,
    string[] propertyNames
)

Parameters

  • propertyNames
    Type: []

    The names of the user profile properties.

Remarks

For an example, see How to: Retrieve user profile properties by using the .NET client object model in SharePoint 2013.

See also

Reference

UserProfilePropertiesForUser class

UserProfilePropertiesForUser members

UserProfilePropertiesForUser overload

Microsoft.SharePoint.Client.UserProfiles namespace