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
- userProfile
Type: Microsoft.Office.Server.UserProfiles.UserProfile
A user profile object.
- propertyname
Type: System.String
Profile property name.
Return Value
Type: []
The value(s) of the profile property.