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
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