Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, July 6, 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!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Get logged in user and populate owner lookup on insert defects screen
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Get logged in user and populate owner lookup on insert defects screenYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 May 09 3:00 PM
I am trying to get the id of the logged in user so I can populate an owner lookup I have added to the insert defects screen. I am using the C# code snip already in place in the load action of the form. I am trying to use this code I got from the FAQ document:


Sage.SalesLogix.Security.SLXUserService userService = Sage.Platform.Application.ApplicationContext.Current.Services.Get() as Sage.SalesLogix.Security.SLXUserService;
IUser user = userService.GetUser();

The error I am getting is:
c:\Inetpub\wwwroot\SlxClient\SmartParts\Defect\InsertDefect.ascx(464): error CS0246: The type or namespace name 'IUser' could not be found (are you missing a using directive or an assembly reference?)

What using do I need to add and can I just include it at the top of the code snip? I have not done much with code snips yet.. Thanks
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Get logged in user and populate owner lookup on insert defects screenYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 May 09 3:50 PM
Sage.Entity.Interfaces



[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): 7/6/2025 4:10:33 PM