18 Apr 2009 10:46 AM #1
I'm wondering if it's possible to get the credential details for the currently logged in user on from the OS?
I haven't been able to find any details on this.
Timothy Grant Vogelsang
18 Apr 2009 11:21 AM #2
This is not an ExtJS related question.
The answer to your question depends on the server side language and the OS your server is running.Iulian
18 Apr 2009 11:55 AM #3
Kind of a hack, but its a way to get the currently logged in user name.
var up = air.File.userDirectory.nativePath; var upa = up.split('\\'); var user = upa[upa.length-1];
@iulian - I think you might have overlooked the fact that this is an AIR/ExtJS question and not server side related.-Shea
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
18 Apr 2009 12:38 PM #4
Indeed, sorry! I read this thread in the RSS reader and I overlooked that is posted in the AIR section.
By the way, nice trick you have there!Iulian
18 Apr 2009 12:43 PM #5