|
No navigation frame on the left? Click here. Privileges
|
|
Privileges are what you can never have enough of. Here is a sample that will tell you which privileges you have for your current account, and just for fun, it then tries to enable SeTcbPrivilege ("Act as part of the operating system" in User Manager). For info on getting the privilege list for any account, check out the samples for LsaEnumerateAccountRights() and LsaEnumerateAccountsWithUserRight() on the LSA pages. showpriv.cpp, 2 KB |