Novell is now a part of Micro Focus

I would like to know how to get...

Articles and Tips: qna

01 Aug 2003


Q.

I would like to know how to get the username from an eDirectory user in order to show it on an ASP page for our Intranet site. The standard ways like Request.ServerVariables("LOGON_USER") or Request.ServerVariables("REMOTE_USER") is just getting blanks.

A.

If you want to use the Novell ActiveX control there's a sample whoami at http://developer.novell.com/support/sample/tids/aspactx/aspactx.htm

You can only use this from a client side ASP since a serverside ASP doesn't have access to client state information as it runs from the service space.

If you want to make DLL calls directly (you are writing your own control), theres a VB WhoAmI sample at http://developer.novell.com/support/sample/tids/vbwhoami/vbwhoami.htm

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates