if (User.IsInRole("DTRTEC")) { Control MyControl = (Control)LoadControl("ControlTemplate/Menu.ascx"); PlaceHolder1.Controls.Add(MyControl); }
string strName = HttpContext.Current.User.Identity.Name.ToString();
string[] selectedUsersRoles = Roles.GetRolesForUser(selectedUserName);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)