This topic has not yet been rated - Rate this topic

EditSecurityAdvanced function

Applies to: desktop apps only

The EditSecurityAdvanced function extends the EditSecurity function to include the security page type when displaying the property sheet that contains a basic security property page. This property page enables the user to view and edit the access rights allowed or denied by the access control entries (ACEs) in an object's discretionary access control list (DACL).

Syntax

HRESULT WINAPI EditSecurityAdvanced(
  __in  HWND hwndOwner,
  __in  LPSECURITYINFO psi,
  __in  SI_PAGE_TYPE uSIPage
);

Parameters

hwndOwner [in]

A handle to the window that owns the property sheet. This parameter can be NULL.

psi [in]

A pointer to your implementation of the ISecurityInformation interface. The system calls the interface methods to retrieve information about the object being edited and to return the user's input.

uSIPage [in]

A value of the SI_PAGE_TYPE enumeration that indicates the page type on which to display the elevated access control editor.

Return value

If the function succeeds, the return value is S_OK.

If the function fails, any other HRESULT value indicates an error. For a list of common error codes, see Common HRESULT Values.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Aclui.h

Library

Aclui.lib

DLL

Aclui.dll

See also

Access Control Editor
Access Control Editor Functions
CreateSecurityPage
EditSecurity
GetSecurity
ISecurityInformation
SetSecurity

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ