October 2010
Intermediate to advanced
1920 pages
73h 55m
English
LoginView ControlYou also can use the LoginView control to display different content to users who belong to different roles. The page in Listing 26.40 contains a LoginView that contains two RoleGroup controls. The first RoleGroup contains content that is displayed to members of the Administrator role. The second RoleGroup contains content that is displayed to members of the Manager and Worker roles.
Listing 26.40. LoginViewRoles.aspx


The Page_Load() handler in Listing 26.40 creates three users named Bill, Ted, and Fred. ...
Read now
Unlock full access