In reply to How to determine if a user has administrator privileges in Windows environment by waseemkotwal