[vwnc] Windows Login Information

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Windows Login Information

Tom Carden-4
A quickie......does anyone know how to get at windows login details (e.g. user name) using Smalltalk?
 
Any help appreciated.
Tom.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Windows Login Information

Boris Popov, DeepCove Labs (SNN)

OSSystemSupport concreteClass new

                getVariable: 'username'

                ifAbsent: [nil]

 

-Boris

 

--

+1.604.689.0322

DeepCove Labs Ltd.

4th floor 595 Howe Street

Vancouver, Canada V6C 2T5

http://tinyurl.com/r7uw4

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Tom Carden
Sent: Thursday, August 13, 2009 3:00 PM
To: [hidden email]
Subject: [vwnc] Windows Login Information

 

A quickie......does anyone know how to get at windows login details (e.g. user name) using Smalltalk?

 

Any help appreciated.

Tom.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Windows Login Information

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Tom Carden-4

#('username' 'userdomain' 'userdnsdomain')

                collect:

                                [:ea |

                                ea -> (OSSystemSupport concreteClass new getVariable: ea ifAbsent: [nil])]

 

-Boris

 

--

+1.604.689.0322

DeepCove Labs Ltd.

4th floor 595 Howe Street

Vancouver, Canada V6C 2T5

http://tinyurl.com/r7uw4

 

From: Boris Popov
Sent: Thursday, August 13, 2009 3:06 PM
To: 'Tom Carden'; [hidden email]
Subject: RE: [vwnc] Windows Login Information

 

OSSystemSupport concreteClass new

                getVariable: 'username'

                ifAbsent: [nil]

 

-Boris

 

--

+1.604.689.0322

DeepCove Labs Ltd.

4th floor 595 Howe Street

Vancouver, Canada V6C 2T5

http://tinyurl.com/r7uw4

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Tom Carden
Sent: Thursday, August 13, 2009 3:00 PM
To: [hidden email]
Subject: [vwnc] Windows Login Information

 

A quickie......does anyone know how to get at windows login details (e.g. user name) using Smalltalk?

 

Any help appreciated.

Tom.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc