Two authentication mechanism i.e kerberos and whoami are considered..I want a C++ program that could detect that user is authenticated using kerberos or whoami