I would like to be able to have my app load up with an input box that gets a user's id and then returns what rights that user has on that local NT machine such as Log on as a Batch and Act as part of the operating system. Is there a way to do this using the Windows API?