Share via


ProfilePropertyLoader.ValueEx Method (UserProfile, String)

Returns the value(s) of the specified profile property for the specified user.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Shared Function ValueEx ( _
    userProfile As UserProfile, _
    propertyname As String _
) As Object()
'Usage
Dim userProfile As UserProfile
Dim propertyname As String
Dim returnValue As Object()

returnValue = ProfilePropertyLoader.ValueEx(userProfile, _
    propertyname)
public static Object[] ValueEx(
    UserProfile userProfile,
    string propertyname
)

Parameters

Return Value

Type: []
The value(s) of the profile property.

See Also

Reference

ProfilePropertyLoader Class

ProfilePropertyLoader Members

ValueEx Overload

Microsoft.SharePoint.Portal.WebControls Namespace