Hi,
I have searched the forum but can't find the right syntax to show the domain that the computer is joined to. Any help appreciated.
Thanks.
does DOMAIN not work?
It works! I was doing my main testing on my home PC which is not domain joined. I tested on a domain computer and yes, it works.
DOMAIN=text:Domain Name,set:userdomain
Bonus tip: you can use this:
[text]
noresults=Workgroup
...at the beginning of your config to declare what a null value will return. Otherwise it will display <n/a>.
@sts-mike that will display for every item that shows no results. A better option is to include the no-result option in the item itself:
DOMAIN=text:Domain Name, set:userdomain, no-result=Workgroup
That is true. We have ours set to <N/A>, but I wanted to mention "workgroup" for this instance. I shoulda mentioned that. Thanks.