11/22/2024 9:55:45 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Who used that login?
Posted: 04 Apr 06 3:26 PM
|
fiogf49gjkf0d I want to know which Windows user used a certain login for SalesLogix.
Let's say we have a SalesLogix login with username "SLX" and password "PW," and we have two Windows users (WinA and WinB.) How can I determine if WinA uses the login or if WinB uses the login? |
|
|
| |
|
Re: Who used that login?
Posted: 04 Apr 06 3:42 PM
|
fiogf49gjkf0d Yeah, I saw that already. I downloaded it, but I haven't tried it out yet. Based on the description, it looks like that it shows the most recent times a SalesLogix user logged in to the program.
I'm looking for a way to determine which Windows user utilizes which SalesLogix login. In other words, I want to know if WinA logs in with SLX1, if WinA logs in with SLX2, or if WinA logs in with SLX3. If anyone needs me to clarify, then please let me know. |
|
|
|
Re: Who used that login?
Posted: 04 Apr 06 5:15 PM
|
fiogf49gjkf0d Hi Thanos.
Basically you'd use the same approach that the app Chad mentioned uses. As a user logs in you would write the user's login name and the currently user Windows/Domain user that the pc is logged in with to a table. Then you could report on or view the info you're after.
Easy enough to get the logged on windows user. Something like this:
Dim net
On Error Resume Next
Set net = CreateObject("WScript.NetWork") MsgBox "Currently logged in windows user:" & vbCrLf & net.UserName & vbCrLf & _ "Computer name is " & net.ComputerName & vbCrLf & _ "Domain name is " & net.UserDomain
Set net = Nothing
-Ryan |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|