UserProfileManager.UserExists Method
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 UserExists ( _
strAccountName As String _
) As Boolean
'Usage
Dim instance As UserProfileManager
Dim strAccountName As String
Dim returnValue As Boolean
returnValue = instance.UserExists(strAccountName)
[ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.UserProfileManager is obsolete; use class "Microsoft.Office.Server.UserProfiles.UserProfileManager" instead")]
public bool UserExists(
string strAccountName
)
Parameters
- strAccountName
Type: System.String
Return Value
Type: System.Boolean