IGPMConstants::SecurityFlags property

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(
  [in]      VARIANT_BOOL vbOwner,
  [in]      VARIANT_BOOL vbGroup,
  [in]      VARIANT_BOOL vbDACL,
  [in]      VARIANT_BOOL vbSACL,
  [in]      long *pVal
);

Property value

The portion of the security descriptor to retrieve or set for a GPO.

Error codes

Returns S_OK if successful. Returns a failure code if an error occurs.

The value of the SecurityFlags property, which represents the portion of the security descriptor to retrieve or set for a GPO; for example, the DACL, the SACL, the group, or the owner.

The value of the SecurityFlags property, which represents the portion of the security descriptor to retrieve or set for a GPO; for example, the DACL, the SACL, the group, or the owner.

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Redistributable

GPMC on Windows Server 2003 or Windows XP with SP1

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMConstants is defined as 50EF73E6-D35C-4C8D-BE63-7EA5D2AAC5C4

See also

IGPMConstants

 

 

Show:
© 2014 Microsoft