-
September 27th, 2012, 09:57 AM
#1
Extract UPN from Citrix\Terminal Server machine using WTSQuerySessionInformation()
Hi,
I have multi session on Citrix machine and I need to extract the FQDN\UPN of each of the users.
I use:
WTSQuerySessionInformation(..,.., WTSDomainName);
but it gives me partial\short string of the Domain, for example: DomainName instead of DomainName.com
- No Suffix!
How can I retrieve the full representation (active directory) of the domain name??
Thank you.
-
October 4th, 2012, 05:14 AM
#2
Re: Extract UPN from Citrix\Terminal Server machine using WTSQuerySessionInformation(
-
October 5th, 2012, 09:19 AM
#3
Re: Extract UPN from Citrix\Terminal Server machine using WTSQuerySessionInformation(
You could try DsGetDomainControllerInfo with the domain name, I believe.
Best regards,
Igor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|