No navigation frame on the left?  Click here.

LsaEnumerateAccountsWithUserRight

 

This sample calls LsaEnumerateAccountWithUserRight() from the LSA API to list all accounts which have a specific privilege (or any privilege if none is named on the command line).

lsa_leawur.cpp, 7 KB