MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / IsUserAdmin

Function IsUserAdmin

src/platform/windows/misc.cpp:260–288  ·  view source on GitHub ↗

* @brief Check whether a Windows access token belongs to an administrator. * * @param user_token Windows access token to inspect. * @return True when the inspected token has administrator privileges. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

retrieve_users_tokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected