bustercoder
Programmer
- Mar 13, 2007
- 96
Hello,
Using a security trace tool and the GP resource (Window display and technical names), I have a main GP Window Description table with the Series, Product, window_display_name, window_technical_name, RESID and USRCLASS. I use this with an outer left join on the RESID to the DYNAMICS.dbo.SY40300 (Class Restrictions) table to get the user classes (USRCLASS) that is restricted. What I am trying to do now is compare the USRCLASS list against the USRCLASS in the DYNAMICS.dbo.SY40400 (Class Master) to see which USRCLASS doesn't exist in the SY40400 at which point I can use those as the ACCESS list. Basically, the end result is I need to have a User Access List. Is this possible? I thought by grabbing a group of userclasses for a partcular RESID and then comparing that list against the SY40400 to see which of those are in the SY40400 but NOT in the SY40300 would product my access list, but it isn't working that way. Do I need to do a union join or perhaps a temp table? I'm using a view for my GP Window Description table and SY40300 which is getting me a restriction list, but actually I need the opposite of this, the user classes that have access. Hope this makes sense.
Thanks,
Buster
Using a security trace tool and the GP resource (Window display and technical names), I have a main GP Window Description table with the Series, Product, window_display_name, window_technical_name, RESID and USRCLASS. I use this with an outer left join on the RESID to the DYNAMICS.dbo.SY40300 (Class Restrictions) table to get the user classes (USRCLASS) that is restricted. What I am trying to do now is compare the USRCLASS list against the USRCLASS in the DYNAMICS.dbo.SY40400 (Class Master) to see which USRCLASS doesn't exist in the SY40400 at which point I can use those as the ACCESS list. Basically, the end result is I need to have a User Access List. Is this possible? I thought by grabbing a group of userclasses for a partcular RESID and then comparing that list against the SY40400 to see which of those are in the SY40400 but NOT in the SY40300 would product my access list, but it isn't working that way. Do I need to do a union join or perhaps a temp table? I'm using a view for my GP Window Description table and SY40300 which is getting me a restriction list, but actually I need the opposite of this, the user classes that have access. Hope this makes sense.
Thanks,
Buster