wntUserSidChk

Checks SID's in an access token.

Syntax:

wntUserSidChk( request, SID, reserved-1, reserved-2, reserved-3)

Parameters:

(i) request: 0 - Check if the specified SID is present and enabled in the token.

(s) SID: specifies a security identifier, in string form (eg, "S-1-5-32-544", which is the well-known SID of the local Administrators group).

(i) reserved-1 0.

(i) reserved-2 0.

(i) reserved-3 0.

Returns:

(i) @TRUE or @FALSE

 

Example:
; Load Appropriate Extender
AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')

SID = "S-1-5-32-544" wntUserSidChk( 0, SID, 0, 0, 0) Exit