none
QueryCredentialAttribute aquiring DOMAIN name in not UPPER case letters.... RRS feed

  • Question

  • Iam using the following code snippet to aquire credential from my End machine in my project:

    AcquireCredentialsHandle(NULL,SSP_PKG_NAME,SECPKG_CRED_OUTBOUND, NULL,NULL,NULL,NULL,                                          &m_sspInfo.m_hCred,&htsExpiry);

    QueryCredentialsAttributes(&m_sspInfo.m_hCred, SECPKG_CRED_ATTR_NAMES, &SecPkgCredNames);

    m_Username = StrFromPtr(SecPkgCredNames.sUserName);

    it is getting sometime DOMAIN name in UPPER case leeters and some times LOWER case letters.

    Whether I need to do any configuratin in my End macine to get DOMAIN name as UPPER case letters only. 

    Friday, October 16, 2015 10:16 AM