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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating New UserIDs

Status
Not open for further replies.

hjmc

Technical User
Nov 20, 2002
38
GB
When I create a new user using the ASP.NET Configuration Tool within Visual Studio 2005, I get no problems with Security Trimming when I add roles and then log on as that new user.

However, when I create a user programmaticaly using the CreateUser Control, and then add Roles, the security trimming is ignored completely and the user can see all the 'directories' in the sitemap.

I have narrowed the problem down to the user creation process; it does not matter how I create the roles (programmatically or ASP.NET Configuration)

Has anyone seen this before or know the solution.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top