Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 7, 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: User in Role
RJ Eaton
Posts: 234
 
User in RoleYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Mar 13 11:25 AM

We have a few Roles created and I am trying to the following to see if a user has a specific role or not.




roleSecurityService.HasAccess(



"Operations");


The issue I am having is that it is not returning the correct values, always returns false.


When searching the files I only see reference to this being at the "Enity/Add" level of functionality.


Am I missing something...?


I am trying to get this code to fire in multiple places some cutom forms some detail forms


 


thanks


 




 

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: User in RoleYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Mar 13 8:49 PM

A little birdie told me this was broken in 8.000000.....

[Reply][Quote]
RJ Eaton
Posts: 234
 
Re: User in RoleYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Mar 13 6:14 AM
fiogf49gjkf0d

I am on version 7.5.3 ..?


 


 

[Reply][Quote]
Mike LaSpina
Posts: 116
 
Re: User in RoleYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Mar 13 3:58 PM

... and broken in 7.5.3 and 7.5.4.  Your best bet is either looping thru the user roles for the given user, or running an irepository query.

[Reply][Quote]
RJ Eaton
Posts: 234
 
Re: User in RoleYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 13 9:14 AM

Thanks Mike.. going to have to go that route then.. is it fixed in 8..?

[Reply][Quote]
Mike LaSpina
Posts: 116
 
Re: User in RoleYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 13 4:15 PM

All I can tell you is that either it is fixed, or it's not Surprised


 


I've not tried it out in 8.0 yet.  I'm so used to it not working, it never occured to me that it might work in 8.0.

[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): 6/7/2025 7:58:05 PM