Share via


IPersonalPage.MyProfile property

Gets the UserProfile of the current user.

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

Syntax

'Declaration
ReadOnly Property MyProfile As UserProfile
    Get
'Usage
Dim instance As IPersonalPage
Dim value As UserProfile

value = instance.MyProfile
UserProfile MyProfile { get; }

Property value

Type: Microsoft.Office.Server.UserProfiles.UserProfile

Remarks

The profile of the current user.

See also

Reference

IPersonalPage interface

IPersonalPage members

Microsoft.SharePoint.Portal.WebControls namespace