Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AtlSetGroupSid

 

Call this function to set the group security identifier (SID) of an object.

System_CAPS_importantImportant

This function cannot be used in applications that execute in the Windows Runtime.


      inline bool AtlSetGroupSid(
HANDLE hObject,
SE_OBJECT_TYPE ObjectType,
const CSid& rSid
) throw(...);

hObject

Handle to the object for which to set security information.

ObjectType

Specifies a value from the SE_OBJECT_TYPE enumeration that indicates the type of object identified by the hObject parameter.

rSid

The CSid object containing the new security information.

Returns true on success, false on failure.

Requirements

Header: atlsecurity.h

Show: