This topic has not yet been rated - Rate this topic

AtlSetGroupSid

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

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

Parameters

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.

Return Value

Returns true on success, false on failure.

See Also

Security Global Functions | AtlGetGroupSid | CSid Class

Did you find this helpful?
(1500 characters remaining)