Platform SDK: Access Control
Using Client/Server Access Control
Following are some common tasks for the Win32 client/server access control functions and structures:
Getting the Logon SID
Starting an Interactive Client Process
Checking a Client's Access