cjoyce1980
IS-IT--Management
I'm trying to create a standard email disclaimer, but one that i can deploy to alot of users.
I've got the following, but i just need to get the displayname of the user out of AD.
Any clues?
<HTML>
<HEAD>
<script language=javascript>
<!--
var wshshell = new ActiveXObject("wscript.shell");
var username = wshshell.ExpandEnvironmentStrings("%username%");
var displayName =
var hostname = "hostname";
var linktext = username + "@" + hostname;
document.write(displayName + "<br>")
document.write("<a href=" + "mail" + "tox" + username + "@" + hostname + ">" + linktext + "</a>")
-->
</script>
</HEAD>
</HTML>
I've got the following, but i just need to get the displayname of the user out of AD.
Any clues?
<HTML>
<HEAD>
<script language=javascript>
<!--
var wshshell = new ActiveXObject("wscript.shell");
var username = wshshell.ExpandEnvironmentStrings("%username%");
var displayName =
var hostname = "hostname";
var linktext = username + "@" + hostname;
document.write(displayName + "<br>")
document.write("<a href=" + "mail" + "tox" + username + "@" + hostname + ">" + linktext + "</a>")
-->
</script>
</HEAD>
</HTML>