Chapter 5. The specification of roles in the file looks similar to the following:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
<siteMapNode title="Home" description="Home" url="default.aspx" >
<siteMapNode title="Admin"
description="For admins only"
url="admin.aspx"
roles="Admins,SuperUsers"
/>
</siteMapNode>
</siteMap>
The site navigation object model offers the deposited roles as a dictionary through the SiteMapNode.Roles property. But those roles are not being evaluated yet, so the navigation properties are shown completely unconditioned in the preceding example. This is another feature that will be available in the Beta version.