getting Token privilages using C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • asnowfall@gmail.com

    getting Token privilages using C#

    I want to get the list of privilages set on process token using C#.

    Please let me know.

    Thanks
    Ramesh

  • Mattias Sjögren

    #2
    Re: getting Token privilages using C#

    >I want to get the list of privilages set on process token using C#.

    Well there's no support in the class library for doing this, so you
    have to do it by calling the same Win32 APIs you would in native code
    (OpenProcessTok en, GetTokenInforma tion etc).


    Mattias

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    Working...