Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Wed, 30 Apr 2008 22:36:59 -0700 (PDT),    group: microsoft.public.platformsdk.security        back       


Display security descriptor   
Having retrieved a security descriptor via GetFileSecurity for
example, what APIs to I use to enumerate and retrieve each of the
entries in it.

TIA, John
date: Wed, 30 Apr 2008 22:36:59 -0700 (PDT)   author:   JRB

Re: Display security descriptor   
JRB  writes:

> Having retrieved a security descriptor via GetFileSecurity for
> example, what APIs to I use to enumerate and retrieve each of the
> entries in it.

For the discretionary access control list: first
GetSecurityDescriptorDacl, then either GetAclInformation and
GetAce, or GetExplicitEntriesFromAcl.

If you only want to display the security descriptor, rather
than make decisions based on it, consider also EditSecurity
or ConvertSecurityDescriptorToStringSecurityDescriptor.
date: Thu, 01 May 2008 18:05:43 +0300   author:   Kalle Olavi Niemitalo

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us