ISecurityInformation3::OpenElevatedEditor method (aclui.h)

The OpenElevatedEditor method opens an access control editor when a user clicks the Edit button on an access control editor page that displays an image of a shield on that Edit button. The image of a shield is displayed when the access control editor is launched by a process with a token that lacks permission to save changes to the object being edited.

Syntax

HRESULT OpenElevatedEditor(
  [in] HWND         hWnd,
  [in] SI_PAGE_TYPE uPage
);

Parameters

[in] hWnd

The parent window of the access control editor.

[in] uPage

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 method succeeds, it returns S_OK.

If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header aclui.h

See also

GetFullResourceName

ISecurityInformation3