Kevin,
Thanks for the response here on this topic. I did take a look at the GetUserRoles() method but opted for my sproc idea becuase it was just as easy to implement that as scan through the BO array of roles for a specific value. I thought it was a 6:1, half dozen to the other choice really. Glad to hear it was a good way to go from you.
And also, it's funny that you mentioned adding a "IsUserInRole()" method to your "to do" list because that is exactly what I originally started to do! If that method had been in the framework, I think I wold have gone down that road to verify the users role instead of what of I built. Mainly I think because there wouldn't be any compelling reasons not to and there is no need to re-invent any wheels at any time! <s>
>
>What you've done is a good way to approach this. Right now, the mmRole business object has a "GetUserRoles()" method that returns all roles for the specified user, and you could scan through these to see if they belong to the role you're looking for. I've added an item to my "to do" list to add a new method to this object called "IsUserInRole()" that would allow you to perform this check more easily.
>
>Regards,
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net