.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

Match SQL User Name and Password

Posted By:      Posted Date: September 28, 2010    Points: 0   Category :Sql Server


   I want to find out which user created password same as username.




View Complete Post

More Related Resource Links

help needed: Ldap User authentication using userDN and password



Is it possible to authenticate a user using userDN and password? If so, then tell me the syntax.So far i have tried to authenticate using username and password from my c# code using directoryentry which takes the parameters like domainname,username and password. But i need to authenticate using Userdn and password.

Login to SPSite\SPWeb through console app using user/password

Hi,I'm developing some basic console application which interacts with SharePoint site through the object mode. I'm using:SPSite site = new SPSite(MySiteUrl); SPWeb web = site.OpenWeb(); This way, current windows user is acessing the site. Is it possible to supply the user with username/password to be able to acess with different credentials than current?Thanks in advance!

LDAP - directory entry issue with out user and password using impersonate and windows authentication

Hi All I am using the below code to fetch the user information from LDAP             DirectoryEntry entry = new DirectoryEntry("LDAP://DEV");             DirectorySearcher searcher =  new DirectorySearcher(entry);             SearchResult result;             searcher.Filter = "samaccountname=testuser";             result = searcher.FindOne(); here i am using windows authentication always and along with that when i enable the impersonate = true ,  the code fails at "result = searcher.FindOne();" with message "object reference not set to instance of an object "  also with the same code if i give the username and password along with the impersonate tag >> it works  or if i am using the user and password along with the DirectoryEntry  object then also it will work  but it fails with same user that i gave in impersonate tag / directory entry object with windows authentication enabled  and the  user logged to the application and no username and password tag in directory entry / impersonate tag  Interesting thing is that  in our development server ,  i am able to execute the same code with out user name p

Get LDAP User ID or password

Dear Friend, I'm using VS2008. This is the Senario, There is 2 Web Application in  : Example  Web App A and Web App B.When User Login the Web App A ( Enter User ID and Password ).There is a link go to Web App B so when user link to Web App B  I want Userwithout attempting him to enter userID and password again. It can get the LDAP (User ID , Password) value from Web App A. any code example or tutorial will be great help. hope this is clear.ThanksDylan Heng

return url in aspx refreshes the page when I click login after entering user name and password

Hello,   I need help as I am struggling to login into my web portal on my new sony vaio laptop. I think that I need to do some settings, or download some plugin. Infact I don't know what to do, as I have spent many hours trying to login, but no success. Below is my office website:   http://www.lantec-uk.net/SignIn.aspx?ReturnUrl=%2fdefault.aspx When I enter my credentials and click login, the web page gets refreshed, i.e username and password get erased, rather than taking me into my web-portal. The laptop is having windows 7 home premium, with ie8. I have also tried installing firefox, chrome, opera and safari, but same problem. Somebody please help, as sony has refused to take the laptop back and they are saying that there is problem with website. Similarly, website staff are saying that there is a problem with the laptop and not with the website.   Any help highly appreciated. 

error message customization in create user wizard, change password wizard


Hi All,

Create User Wiard and Change Password Wizard contain error message literals. They display error messages when a user is trying to sign up with an username that already exists and so on.

These error messages are pre-set. How can they be customized. In particular, how can they be adjusted depending on the language.

How is this usually best achieved?

Thanks a lot.


No Exact Match Found for only one user



        i cannot find a new user who has been added to the active directory recently in the people picker. when searched for other users it works.

it is saying no exact match found for this new user.

we did profile sycn, still doesnt show up. we also did the following

a. stsadm.exe -o setapppassword -password <somekey> - this command is use as encrypt\decrypt key
B.  stsadm.exe –o setproperty –pn peoplepicker-searchadforests –pv <list of forests or domains> -url <webapp> - this command is use to set the property for a specific web application.

 still doesnt work.


any workarounds? i would appreciate your help

current logged in user and password using a TSQL


Dear frnds,



Is there is any way to get current logged in user and password using a TSQL?  (SQL MODE)





Sajid P K

web application asking server user name password


Dear friends,

                   I have been using a asp.net2005 application for one year. Every thing was working fine . Last night i just changed a picture in image folder. Now my application is working fine on server but when i am runing this application on client side , it is asking server's user name and password as soon as  newly added image is going to upload on client.

Plz help  ASAP.

Thanks is advance


Find User Password by Username Before Login


hi guys,

I have only username. and want to check and grab the password from the database. It is BEFORE LOGGING IN. so I don't think the build-in asp.net functions could be used, right?

thanks a lot!!

SSIS package not able to save encypted user sensitive password


i have an ftp fetch package in bus development studio 2008.  it runs from that interface.  i imported it into Integration Services, set the password along with the EncryptSensitiveWithPassword and if i manually enter password each time i can run successfully from sql integration services.  but i cannot schedule as a job because the password won't stick.

any help out there would be great.

How to connect to a WCF intalled as a windows service with user name and password


I have installed my WCF service using

        <endpoint address="service" binding="wsDualHttpBinding" contract="aa.IABC" name="HttpBinding"/>

And I intall this service as a Windows service..

When installing the service I am giving

                serviceProcessInstaller1.Account = ServiceAccount.User;
                serviceProcessInstaller1.Username = userName;
                serviceProcessInstaller1.Password = password;   

I am trying to connect to this service using my client but cannot open the channel .


          <binding name="HttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00"
              receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"

How to hide SQL Server password from user in an Windows Forms Application?


Using - VS 2005, SQL Server 2005 Express, Windows Forms Application


I am unable to find a way that hides the password to connect to database in case of a Windws Forms Application.

- app.config is accessible to the user, so connection strings an be read.

- app.config can't be encrypted as in case of ASP.NET applications

- hardcoding the password in the application in connectionstring still makes it possible to be discovered by a user

Vibhor Agarwal

How to check (login Credentials) user name and password to access sharepoint server 2007 programmati

my issue is...

while user entered his/her Username:xyz
i need to check programmatically either username & password exists ot not in sharepoint server 2007 from windows form application.

and i know how to check username,but i don't know how to check password.

you can check username in below ways..

 SPSite SharepointSiteObj = new SPSite(SiteUrl);
 SPWeb SharepointWebObj = SharepointSiteObj.OpenWeb("/");

 SPUserToken token=SharepointWebObj.AllUsers[userName]

from this i can get user name..




Error in check user name/password in basicHttpBinding WCF


Hi all.

I wrote a service that use a basicHttpBinding. It had worked correctly.

I want to check a simple u/p before execute.

But I get this error:

HTTP request streaming cannot be used in conjunction with HTTP authentication.  Either disable request streaming or specify anonymous HTTP authentication.
Parameter name: bindingElement

Service config:


<?xml version="1.0" encoding="utf-8" ?>

Resetting User Password

We our currently running SQL 2005 w/ sp2 installed.  We have an application (GP 10) that has the ability to reset passwords from within the application and also force the user to reset the password upon first login.  I've noticed recently that the option is no longer available from the application anymore so I just check from within SQL Management Studio and noticed that I don't have the option either.  In both instances the option is grayed out.  We do have the option to enforce password policy selected for the users.  Is there a setting I'm missing?  We moved the application from another SQL 2005 instance where the option was available, but that server is no longer online for me to check it.

Get sharepoint list documents for a user without password



I have a sharepoint site which will have documents based on the user id given as the parameter.  I am using the default MOSS web service (_vti_bin/lists.asmx) provided.

The request to this service will be made from a Java site and the java site will only pass the user id to the web service, but the MOSS web service requires user id and password to accept the request.  To overcome this issue, we are trying use an admin credentials, now the issue is when we make request to the web service with admin credentials it returns the documents for the admin.  We need the documents of the user id, is there anyway to get the documents of a user by passing user id alone?

Expecting experts help on this.



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend