IGPMSOM::SetSecurityInfo method (gpmgmt.h)

Sets the list of permissions for the scope of management (SOM) to that of the specified object.

Syntax

HRESULT SetSecurityInfo(
  [in] IGPMSecurityInfo *pSecurityInfo
);

Parameters

[in] pSecurityInfo

Pointer to an IGPMSecurityInfo interface.

Return value

JScript

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

VB

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

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

IGPMPermission

IGPMSOM

IGPMSecurityInfo