IGPMConstants::get_SecurityFlags method (gpmgmt.h)

Retrieves the value of the SecurityFlags property, which represents the portion of the security descriptor to retrieve or set for a GPO. You can pass the returned value in the ulFlags parameter to the IGPMGPO::GetSecurityDescriptor and IGPMGPO::SetSecurityDescriptor methods.

This property is read-only.

Syntax

HRESULT get_SecurityFlags(
  VARIANT_BOOL vbOwner,
  VARIANT_BOOL vbGroup,
  VARIANT_BOOL vbDACL,
  VARIANT_BOOL vbSACL,
  long         *pVal
);

Parameters

vbOwner

vbGroup

vbDACL

vbSACL

pVal

Return value

None

Remarks

For more information about access control lists (ACLs) and the security model for controlling access to objects, see Access Control.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See also

IGPMConstants