Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Sunday, July 6, 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)
7/6/2025 1:29:58 PM
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 Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: User Security
Derek
Posts: 115
User Security
Posted: 14 May 09 3:38 AM
Is there a way to stop most users that will use the Web Client not to be able to use the "delete" button?
If so how would I go about this?
Thank you in advance
[
Reply
][
Quote
]
slxguy
Posts: 71
Re: User Security
Posted: 14 May 09 7:14 AM
There is built in security via roles however I've had problems with it not working correctly in the past. For this I would just set the delete button to disabled. The as a custom c# snippet on load do something like:
control.Enabled = false;
if (Page.User.Identity.Name.ToLower() == "name1" ||
Page.User.Identity.Name.ToLower() == "name2" ||
Page.User.Identity.Name.ToLower() == "name3")
{
control.Enabled = true;
}
You can also get the iUser object which is the SLX user object.
Sage.SalesLogix.Security.SLXUserService userService = (Sage.SalesLogix.Security.SLXUserService)Sage.Platform.Application.ApplicationContext.Current.Services.Get
();
Sage.Entity.Interfaces.IUser myUser = userService.GetUser();
There are a bunch of different ways you can do this really...hope that helps
[
Reply
][
Quote
]
Derek
Posts: 115
Re: User Security
Posted: 14 May 09 7:41 AM
thanks I will try your suggestion.
[
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): 7/6/2025 2:01:15 PM