jwcoleman87
Well-known member
- Joined
- Oct 4, 2014
- Messages
- 124
- Programming Experience
- Beginner
So I have these tables:

What I want to do is find out what modules a specific technician has access to based on their job function(listed as JobTitle)
I think I'm off to a good start here:
This code should get the jobs for the user. Now I need to go one step further and get the modules accessible by each job for that user.
Can anyone shed some light on this? Many examples are either oversimplified by the msdn or overcomplicated by someone doing much more complicated things.

What I want to do is find out what modules a specific technician has access to based on their job function(listed as JobTitle)
I think I'm off to a good start here:
Dim UserJobs = From user In db.TTUsers _ Join job In db.TTUserJobs _ On user.TTUserID Equals job.UserID
This code should get the jobs for the user. Now I need to go one step further and get the modules accessible by each job for that user.
Can anyone shed some light on this? Many examples are either oversimplified by the msdn or overcomplicated by someone doing much more complicated things.