Поделиться через


AtlGetGroupSid

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

inline bool AtlGetGroupSid(
   HANDLE hObject,
   SE_OBJECT_TYPE ObjectType,
   CSid* pSid
) throw(...);

Параметры

  • hObject
    Handle to the object from which to retrieve security information.

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

  • pSid
    Pointer to a CSid object which will contain the new security information.

Возвращаемое значение

Returns true on success, false on failure.

Требования

Header: atlsecurity.h

См. также

Основные понятия

Security Global Functions

AtlSetGroupSid

CSid Class