How do I get the current user name with the Credential Provider? RRS feed

  • Question

  • Hi there,

    I am currently finishing a credential provider project that somebody else did for my work and I am not a very experienced developer.

    I want to be able to find the current user so that the user will not be prompted for a username but just the password when doing a password change. Is there a way for me to do this (find the current username) from Provider::SetUsageScenario()

    Any help would be msot welcome.

    thanx in advance :-)



    Monday, July 12, 2010 8:30 AM

All replies

  • look at WTSQuerySessionInformation method
    Thursday, April 26, 2012 12:57 PM