Hi,
In the past I used to get user information on my intranet
applications using the ServerVariables("LOGON_USER") in ASP. Can we
we acheive this in Flex? Using Flex can we access ServerVariables?
I need this to avoid the standard "Log in" screen into an
application. From my point of view it's not a effective way atleast
on a Intranet.
Any pointers will be appreciated.
Thanks in Advance,
Best Regards,
Pramod Dharani
Here's the sample function I used in the past:
'get the logged user
Function GET_LOGGEDUSER ()
strNTUser = RTrim(Request.ServerVariables("LOGON_USER"))
iPos = Len(strNTUser) - InStr(1, strNTUser,"\",1)
GET_LOGGEDUSER = Right(strNTUser, iPos)
End Function
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/