Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web.sitemap - multiple files based on user profile (NOT Roles)

Status
Not open for further replies.

randysmid

Programmer
Joined
Dec 12, 2001
Messages
801
Location
US
Hi,
Has anyone tried to set up a MasterPage with multiple Web.sitemap's based on a specific user profile? Actually, I've got the user type (or role) from a Session variable (currentUserType and currentUserName). I have 5 different user/role types (User, Manager, OffSvcsMgr, OffSvcsEmployee, and Accounting), so I don't think "roles" will work for me.

Can someone provide any insight into this? It is very much appreciated!!!

Can this be accomplished in the Web.config file?

TIA, Randy
 
Hi,
I don't really understand that much about the "roles" property as part of web.sitemap. I was under the impression it only provides for 3 roles, such as "Admin" and a one or two more.

So, can we create our own roles? If so, how do we implement this into our web forms? Can you refer me to a good tutorial on how to make this work?

TIA, Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top