If the current user is not in all of the specified roles, sets the HTTP status code to 401 (Unauthorized).
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
The SimpleMembershipProvider.Initialize(String, NameValueCollection) method was not called.
The InitializeDatabaseConnection() method was not called.
The SimpleMembershipProvider membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.
This method validates that the user is a member of all of the specified roles. If the current user is not a member of all of the specified roles, the HTTP status is set to 401 (Unauthorized).