Hi guys,
I'm running a restricted subweb and whan to grab the logged on username. I would use the ASP
BUT the site is not ASP-enabled, so i need to use plain ol' VBScript. Basically what I'd like to is shown in the code snip below. I realize it's incorrect but it explains better that plain text!
Can anyone point me in the right direction?
Thanks In Advance
I'm running a restricted subweb and whan to grab the logged on username. I would use the ASP
Code:
Request.ServerVariables("LOGON_USER")
Code:
<script LANGUAGE="VBScript">
<!--
sub window_onLoad()
If LCase(Logon.User)="guest" Then 'Logon.User??
window.navigate("users/request_password.htm")
End If
End Sub
-->
</script>
Can anyone point me in the right direction?
Thanks In Advance