FesfUtil2IsThreadIdInSid Function

Determines if the thread indicated by ThreadId is in the group indicated by GroupSidString.

Syntax (C++)

bool

FesfUtil2IsThreadIdInSid(uint32_t ThreadId,

                         std::wstring_view GroupSidString);

Syntax (C)

DWORD

FesfUtil2IsThreadIdInSid_C(

      [in]_DWORD   ThreadId,

      [in] LPCWSTR GroupSidString,

      [out] BOOL*  ThreadIsInSid);

Parameters

ThreadId

Thread ID of the thread to check.

GroupSidString

String containing a SID to check for membership.

Return value

Returns 'true' if ThreadId is a member of group GroupSidString, 'false' otherwise.

Replaces

IFesfUtil:: IsThreadIdInSid