Sign in to follow this  
Followers 0
joshiieeii

Use Current User Credentials?

2 posts in this topic

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.

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0