Lines Matching refs:Ident
343 sal_Char *Ident; in osl_getUserIdent() local
380 Ident=malloc(88*sizeof(sal_Char)); in osl_getUserIdent()
383 dwSidSize=wsprintf(Ident, TEXT("S-%lu-"), dwSidRev); in osl_getUserIdent()
388 dwSidSize+=wsprintf(Ident + strlen(Ident), in osl_getUserIdent()
399 dwSidSize+=wsprintf(Ident + strlen(Ident), in osl_getUserIdent()
410 dwSidSize+=wsprintf(Ident + dwSidSize, TEXT("-%lu"), in osl_getUserIdent()
414 rtl_uString_newFromAscii( strIdent, Ident ); in osl_getUserIdent()
417 free(Ident); in osl_getUserIdent()
425 sal_Unicode *Ident; in osl_getUserIdent() local
429 Ident=malloc(needed*sizeof(sal_Unicode)); in osl_getUserIdent()
431 if (WNetGetUserW(NULL, Ident, &needed) != NO_ERROR) in osl_getUserIdent()
433 wcscpy(Ident, L"unknown"); in osl_getUserIdent()
434 Ident[7] = L'\0'; in osl_getUserIdent()
437 rtl_uString_newFromStr( strIdent, Ident); in osl_getUserIdent()
439 free(Ident); in osl_getUserIdent()