Prasad,
Yes, it is. Basically, you will have to call the function through the
P/Invoke layer. There isn't a managed wrapper for this kind of
functionality in the framework.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Prasad Dabak" <pd****@yahoo.com> wrote in message
news:96**************************@posting.google.c om...
Hello,
Is it possible to programatically grant privileges like
SeAssignPrimaryTokenPrivilege to a Windows account from C# code?
I don't want to call down to WIN32 functions
-Prasad