Click here to Skip to main content
15,884,298 members
Articles / Desktop Programming / Win32

Win32 Security: Retrieving Privileges and Groups for an Access Token

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
22 Sep 2022MIT7 min read 8.7K   325   8  
This article shows how to retrieve the Privileges and Groups that are part of an access token such as the current thread token.
This article shows how we can read the thread token and inspect the Privileges and Groups that are assigned to it. Aside from the things we can do with a token, it can be convenient to be able to display them for troubleshooting purposes. In this article, I will show how to retrieve that information.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer
Belgium Belgium
I am a former professional software developer (now a system admin) with an interest in everything that is about making hardware work. In the course of my work, I have programmed device drivers and services on Windows and linux.

I have written firmware for embedded devices in C and assembly language, and have designed and implemented real-time applications for testing of satellite payload equipment.

Generally, finding out how to interface hardware with software is my hobby and job.

Comments and Discussions