Is the following valid? Are roles/usernames allowed to have whitespace?
<location path="MyPage.aspx">
    <system.web>
        <authorization>
            <allow role="Good User" />
        </authorization>
    </system.web>
</location>
Yes, they are :-)
Actually, it depends on the MembershipProvider/RoleProvider. But all the standard ones (SQL, Windows, AD) permit spaces.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With