I've only been able to find an answer to the need for AdministatorRights here, and so I ask for help on this one. I hope I didn't miss an answer elsewhere, I truly apologize if I did.

Anyhow, I'm trying to write a simple program to search for the [rights of the user](http://technet.microsoft.com/en-us/library/dd349804%28v=WS.10%29.aspx "List of desired user rights").

I planned to iterate through the list and return the rights of the user, but I hit a road bump in that there is [no method, as far as I see, to check if a user has the given privilege](http://msdn.microsoft.com/en-us/library/windows/desktop/ms721849%28v=vs.85%29.aspx "Security Management Functions"). I've been able to find information on attempting to change the status of the user rights, but not a simple call to see if they are enabled or disabled. Does anyone know a way around this method? I'm a bit stuck in how to achieve this, any help is greatly appreciated!

Thanks!