Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Monday, August 18, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
8/18/2025 6:27: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!
Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Scripting & Customization
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Whether remote in user is online or not
shilpa
Posts: 18
Whether remote in user is online or not
Posted: 23 Nov 07 6:31 AM
can any one tell me how to know the information whether a remote user is online or not .....through code
[
Reply
][
Quote
]
David Henry
Posts: 207
Re: Whether remote in user is online or not
Posted: 26 Nov 07 3:18 PM
Shilpa,
Here is your best option - click the link below. You can thank the author for this - Mike Spragg. Don't forget to give the article kudos after you install the bundle. The current bundle actually catches machine name and windows user ID, too. The screen shots are kind of old, but the code bundle is up to date.
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=82
[
Reply
][
Quote
]
shilpa
Posts: 18
Re: Whether remote in user is online or not
Posted: 26 Nov 07 11:22 PM
Thx David!!! Can you clear one doubt ...through cod ehow we will know whether a logged in user is remote or network client.can you help me.......
[
Reply
][
Quote
]
Phil Parkin
Posts: 819
Re: Whether remote in user is online or not
Posted: 26 Nov 07 11:59 PM
Check out Application.Users("UserID").UserType
Quoting from the Developer's Reference:
UserType - String Type of user. Can be one of the following values:
utAdmin (0)
utWorkGroup (1)
utRemote (2)
utWebOnly (3)
utWebViewer (4)
utConcurrent (5)
utUnknown (6)
utRetired (7)
utTemplate (8).
ReportsTo String ID of the user’s manager.
[
Reply
][
Quote
]
David Henry
Posts: 207
Re: Whether remote in user is online or not
Posted: 27 Nov 07 7:39 AM
If {USERSECURITY.TYPE} = 'N' then 'Network'
If {USERSECURITY.TYPE} = 'M' then 'Remote'
If {USERSECURITY.TYPE} = 'R' then 'Retired'
...and so on
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: Whether remote in user is online or not
Posted: 28 Nov 07 11:01 PM
Quote:
Originally posted by shilpa
can any one tell me how to know the information whether a remote user is online or not .....through code
As others have mentioned, you can check the type of user to see what type of user it is, however, if what you're after is to know whether the current database is a remote or the main network database, you can check the following:
Check the DBTYPE field on the SYSTEMINFO table where SYSTEMINFOID = 'PRIMARY'.
If 1 Then Main database
If 2 Then Remote database (ie: remote user)
If 3 Then Remote Office database
-Ryan
[
Reply
][
Quote
]
Page 1 of 1
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!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 8/18/2025 6:35:55 AM