Re: Modify Local Security Settings via code
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 May 2006 18:53:01 +0000 (UTC)
sorry,
it is LsaOpenPolicy - just saw that there is also a wrapper on pinvoke.net
http://www.pinvoke.net/default.aspx/advapi32/LsaOpenPolicy.html
but also look into the Windows SDK.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
Dominick, thanks for your quick reply. I did a search on Google for
LsaEnumPolicy and it returned with nothing. Is there something better
I should be searching for or a link you could direct me to?
"Dominick Baier [DevelopMentor]" wrote:
thats not directly accessible via managed code - LsaEnumPolicy and
friends are where you have to start with.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
Hopefully this is simple and I'm just missing it. I need to be able
to use C# code in .Net to change the values of some of the Local
Security Settings under Local Policies...User Rights Assignment. So
far I haven't been able to find anything on how to change Local
Security settings via code. Can anyone point me in the right
direction or show a code sample?
Thanks,
Rob
.
- Prev by Date: Re: System.Security.SecurityException Associated to Windows Applications
- Next by Date: Re: Connecting to MS Exchange 2003 using POP3 with SSL fails
- Previous by thread: Re: Modify Local Security Settings via code
- Next by thread: Re: Security permissions issue
- Index(es):
Relevant Pages
|
|