Getting handle to user' s token

  • Thread starter Thread starter Roshan
  • Start date Start date
R

Roshan

Hi,

In my program I need the handle to the current user's token to perform
some operations in native code. I am trying to get the handle using
WindowsIdentity.GetCurrent().Token and pass it to my native dll.

Does this method return a handle to the user's token? Or is there some
other way to get it? Or is it better to do this in native code.

Thanks,
RB
 
Back
Top