Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, February 21, 2025 
 
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 .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: Determine which DB user is logged into
Michael Rogers
Posts: 70
 
Determine which DB user is logged intoYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jun 09 10:37 AM
Trying to use the correct connection string based on whether the user is logged into Production or UAT. Anyone have some experience with this or do you just change the connection string and rebuild for UAT?

Michael
[Reply][Quote]
Walter Shpuntoff
Posts: 167
 
Re: Determine which DB user is logged intoYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Jun 09 4:54 AM
In your .NET code - you have included the Sage.SalesLogix.NetExtensions.Framework

this means you can do something like this

Dim oSLX as SLXApplication

Dim Connect as String = oSLX.ConnectionString

This also gives you all of the .BasicFunctions so you can get globals, etc.

This way your code is portable.

hth

ws
[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 | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 2/21/2025 5:05:33 AM