Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerates all users who have logging mode data on a specific computer.
Syntax
HRESULT LoggingEnumerateUsers(
[out] VARIANT *varVal
);
Parameters
[out] varVal
Pointer to a SAFEARRAY containing VARIANT members. Each VARIANT contains a Dispatch pointer to the IGPMTrustee interface.
Return value
C++
Returns S_OK if successful. Returns a failure code if an error occurs.JScript
Returns an array of GPMTrustee object references. Note that the array is a normal array, not a GPMC collection.VB
Returns an array of GPMTrustee object references. Note that the array is a normal array, not a GPMC collection.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |