UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:shellapi.SHTestTokenMembership |
SHTestTokenMembership function (shellapi.h) |
Uses CheckTokenMembership to test whether the given token is a member of the local group with the specified RID. |
|
shell\SHTestTokenMembership.htm |
shell |
ac2d591a-f431-4da7-aa9f-0476634ec9cf |
12/05/2018 |
SHTestTokenMembership, SHTestTokenMembership function [Windows Shell], _win32_SHTestTokenMembership, shell.SHTestTokenMembership, shellapi/SHTestTokenMembership |
shellapi.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Shell32.lib |
Shell32.dll (version 6.0 or later) |
Windows |
19H1 |
|
|
|
|
|
|
Uses CheckTokenMembership to test whether the given token is a member of the local group with the specified RID.
Type: HANDLE
A handle to the token. This value can be NULL.
Type: ULONG
The RID of the local group for which membership is tested.
Type: BOOL
Returns TRUE on success, FALSE on failure.
This function wraps CheckTokenMembership and only checks local groups.