Share via


UserProfile Class

NOTE: This API is now obsolete.

Use classes in the Microsoft.Office.Server.UserProfiles namespace instead.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Portal.UserProfiles.UserProfile

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")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class UserProfile
'Usage
Dim instance As UserProfile
[ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.UserProfile is obsolete; use class "Microsoft.Office.Server.UserProfile" instead")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class UserProfile

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

UserProfile Members

Microsoft.SharePoint.Portal.UserProfiles Namespace