Share via


UserProfile.Item Property

NOTE: This API is now obsolete.

Obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.UserProfile is obsolete; use class "Microsoft.Office.Server.UserProfile" instead")> _
Public Default Property Item ( _
    strPropName As String _
) As Object
    Get
    Set
'Usage
Dim instance As UserProfile
Dim strPropName As String
Dim value As Object

value = instance(strPropName)

instance(strPropName) = value
[ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.UserProfile is obsolete; use class "Microsoft.Office.Server.UserProfile" instead")]
public Object this[
    string strPropName
] { get; set; }

Parameters

Property Value

Type: System.Object

See Also

Reference

UserProfile Class

UserProfile Members

Microsoft.SharePoint.Portal.UserProfiles Namespace