UserProfileManager.GetUserProfile Method (Guid)
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.UserProfileManager is obsolete; use class "Microsoft.Office.Server.UserProfiles.UserProfileManager" instead")> _
Public Function GetUserProfile ( _
guid As Guid _
) As UserProfile
'Usage
Dim instance As UserProfileManager
Dim guid As Guid
Dim returnValue As UserProfile
returnValue = instance.GetUserProfile(guid)
[ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.UserProfileManager is obsolete; use class "Microsoft.Office.Server.UserProfiles.UserProfileManager" instead")]
public UserProfile GetUserProfile(
Guid guid
)
Parameters
- guid
Type: System.Guid
Return Value
Type: Microsoft.SharePoint.Portal.UserProfiles.UserProfile