P
Patrick.O.Ige
As anybody here used the AspNetActiveDirectoryMembershipProvider with the
SiteMap
For example mapping the roles from Active Directory to the siteMapNode for
security trimming?
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/default.aspx" title="Home" description=""
roles="*">
<siteMapNode url="~/signup.aspx" title="Sign Up" description=""
roles="?" />
<siteMapNode url="~/pwdreminder.aspx" title="Forgot Password"
description="" />
<siteMapNode url="" title="User Settings" description=""
roles="users">
<siteMapNode url="~/_Users/myaccount.aspx" title="My Account"
description="" />
<siteMapNode url="~/_Users/changepwd.aspx" title="Reset Password"
description="" />
</siteMapNode>
<siteMapNode url="" title="Members" description="" roles="members">
<siteMapNode url="~/_Members/history.aspx" title="History"
description="" />
</siteMapNode>
<siteMapNode url="" title="Support" description="" roles="support">
<siteMapNode url="~/_Support/search.aspx" title="Search"
description="" />
</siteMapNode>
<siteMapNode url="" title="Admin" description="" roles="admins">
<siteMapNode url="~/_Admins/test.aspx" title="Admin1"
description="" />
<siteMapNode url="~/_Admins/test2.aspx" title="Admin2"
description="" />
</siteMapNode>
</siteMapNode>
</siteMap>
Any ideas?
SiteMap
For example mapping the roles from Active Directory to the siteMapNode for
security trimming?
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/default.aspx" title="Home" description=""
roles="*">
<siteMapNode url="~/signup.aspx" title="Sign Up" description=""
roles="?" />
<siteMapNode url="~/pwdreminder.aspx" title="Forgot Password"
description="" />
<siteMapNode url="" title="User Settings" description=""
roles="users">
<siteMapNode url="~/_Users/myaccount.aspx" title="My Account"
description="" />
<siteMapNode url="~/_Users/changepwd.aspx" title="Reset Password"
description="" />
</siteMapNode>
<siteMapNode url="" title="Members" description="" roles="members">
<siteMapNode url="~/_Members/history.aspx" title="History"
description="" />
</siteMapNode>
<siteMapNode url="" title="Support" description="" roles="support">
<siteMapNode url="~/_Support/search.aspx" title="Search"
description="" />
</siteMapNode>
<siteMapNode url="" title="Admin" description="" roles="admins">
<siteMapNode url="~/_Admins/test.aspx" title="Admin1"
description="" />
<siteMapNode url="~/_Admins/test2.aspx" title="Admin2"
description="" />
</siteMapNode>
</siteMapNode>
</siteMap>
Any ideas?