joshiieeii Posted July 11, 2006 Posted July 11, 2006 Working on a project, been doing some searching, coming up with nothing so far other than possibly calling the dll secur32.dll. Has anyone been able to find a way to get the current user's credentials to authenticate for a share. I am not interested in finding out someone's password or anything. I am just trying to use the currently logged on user's cached credentials to access something the already have access to, just not prompt them for a password. Thanks if you have any insight on this. Projects:Vista Gui ImageX Deployment Tool - CompletedActive Directory Helper - CompletedGlobalized Outlook and OWA Signature Project - Completed
Skruge Posted July 11, 2006 Posted July 11, 2006 The currently logged-in user's credentials are used for share access unless you specify otherwise. This works with DriveMapAdd as well as file access using UNC paths. If you plan to access non-windows shares, you should prompt the user for their credentials at runtime. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now