Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do web.config role and usernames allow whitespace?

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>
like image 466
Larsenal Avatar asked Sep 16 '09 21:09

Larsenal


1 Answers

Yes, they are :-)

Actually, it depends on the MembershipProvider/RoleProvider. But all the standard ones (SQL, Windows, AD) permit spaces.

like image 51
Tor Haugen Avatar answered Oct 06 '22 21:10

Tor Haugen