Menu

Use Windows Identity/Credentials to access WMI

Help
Stephanie
2014-11-15
2014-11-17
  • Stephanie

    Stephanie - 2014-11-15

    Hello,

    I was wondering if I can use/access the identity of the logged in user (program running in a windows environment).
    I want to avoid that the user has to enter/provide credentials.

    If this has been asked before, maybe you can point me in the right direction.

    Thanks,
    Steffi

     
    • Vikram Roopchand

      Hi Steffi,

      You can do this but this will be native way (JNI). The
      JISession.createSession() (with no u/p option) does this for you. More
      information is on the forums.

      thanks,
      best regards,
      Vikram

      On Sun, Nov 16, 2014 at 3:40 AM, Stephanie yellow-steffi@users.sf.net
      wrote:

      Hello,

      I was wondering if I can use/access the identity of the logged in user
      (program running in a windows environment).
      I want to avoid that the user has to enter/provide credentials.

      If this has been asked before, maybe you can point me in the right
      direction.

      Thanks,
      Steffi


      Use Windows Identity/Credentials to access WMI
      https://sourceforge.net/p/j-interop/discussion/600730/thread/7fb8051d/?limit=25#290f


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/j-interop/discussion/600730/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      The Mind is a place of its own. It can make a heaven out of hell or a hell
      out of heaven. Attitude is everything. No matter how adverse conditions
      maybe, one has the capacity to turn things around by one's Determination,
      Perseverance and Hardwork.

      John Milton
      (Paradise Lost)

       

Log in to post a comment.