if
(Page.User.Identity.IsAuthenticated
&&
Page.User.IsInRole(
"
user
"
))
{
Response.Redirect( " / " );
}
{
Response.Redirect( " / " );
}
转载于:https://www.cnblogs.com/mopaka/archive/2010/01/09/1642746.html