Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the UserProfile associated with the specified Page.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Shared Function GetPageProfile ( _
page As Page _
) As UserProfile
'Usage
Dim page As Page
Dim returnValue As UserProfile
returnValue = ProfilePropertyLoader.GetPageProfile(page)
public static UserProfile GetPageProfile(
Page page
)
Parameters
page
Type: System.Web.UI.PageThe page to be searched for the UserProfile.
Return Value
Type: Microsoft.Office.Server.UserProfiles.UserProfile
The user profile associated with the page.
Remarks
This method returns null if the UserProfile cannot be found.