Check if the name and password are correct for domain
2012-11-12 16:58
357 查看
PrincipalContext context = new PrincipalContext(ContextType.Domain);
bool isValid = context.ValidateCredentials(userName, password);
bool isValid = context.ValidateCredentials(userName, password);
相关文章推荐
- Check if the name and password are correct for domain
- Connection to localhost:5432 refused. Check that the hostname and port are correct and that the post
- The password supplied with the username Domain\UserName was not correct. Verify that it was entered correctly and try again
- Jenkins部署:The username and password you provided are not correct (error 401)
- Password authentication failed, Please verify that the username and password are correct
- Please enter the correct username and password for a staff account. Note tha
- Theserver is not reeady for publishing.Please check if the Publishing Tools on the serverare started
- The password supplied with the username Domain\UserName was not correct. Verify that it was enter...
- Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the co
- Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.
- Compound class names are not supported. Consider searching for one class name and filtering the results
- Login failed:make sure your username and password are correct and that you’re an admin or moderator
- SharePoint创建web application出现“The password supplied with the username was not correct. Verify that it was entered correctly and try again.”错误
- 解决Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the co
- The password supplied with the username Domain\UserName was not correct. Verify that it was enter...
- The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain
- Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLA
- After logging in to the Lotus Notes Client, you are prompted for a password in DOS-like window (Viru
- #Redis Error #MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details a
- The SQL Server Service Broker for the current database is not enabled, and as a result query notifications are not supported.