Re: Privileges in BCL

Peter Ritchie <[email protected]> Thu, 31 Jan 2008 10:19:00 -0500
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <LISTSERV%[email protected]>
On Thu, 31 Jan 2008 08:34:51 -0600, Alex Ivanoff
<[email protected]> wrote:

>"Can login locally" is a part of security settings.
>
>I need SeTcbPrivilege, SeBackupPrivilege etc. Native API is
LookupPrivilegeValu and friends, AdjustTokenPrivileges etc.

Unfortunately, there isn't anything that directly accesses those types of
privleges either.  Some are indirect, like Process.EnterDebugMode,
and .LeaveDebugModesets adjusts the "SeDebugPrivledge" privledge.  There's
a few methods like that; but nothing that supports privledges as a general
concept.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com