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.
The IsLoginValid method of the SPUtility class uses the specified site collection to determine whether the specified user name is valid.
Parameters
site A Microsoft.SharePoint.SPSite object that represents the site.
strLoginName A string that contains the user name.
Return Value
true if the user name is valid; otherwise, false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security