Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Nickel Contributor
Posts: 66
Registered: ‎03-30-2009

Very Simple yet taking hours to overcome

I am looking to just get the current userid ..

 

Here is what I have in 7.5.3 and I am getting an error --

 

Sage.Platform.Security.IUserService usrService =

Sage.Platform.Application.ApplicationContext.Current.Services.Get<Sage.Platform.Security.IUserService()>

as Sage.Platform.Security.IUserService;

 

Anyone have a very simple way to get the current user id..?

Bronze Super Contributor
Posts: 129
Registered: ‎06-09-2009

Re: Very Simple yet taking hours to overcome

Sage.SalesLogix.API.MySlx.Security.CurrentSalesLogixUser.Id.ToString();

Raul A. Chavez
http://raul.chavez.com
http://www.crmbi.com
Nickel Contributor
Posts: 66
Registered: ‎03-30-2009

Re: Very Simple yet taking hours to overcome

Thanks..!! Works like a charm