Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.
FormsIdentity id = (FormsIdentity)HttpContext.Current.User.Identity; FormsAuthenticationTicket ticket = id.Ticket; // Get the stored user-data, in this case, our roles string userData = ticket.UserData; string roles = userData.Split(','); Literal3.Text = roles; // Checking for "System Administrator" Literal3.Text += "|" + Page.User.IsInRole(roles).ToString(); Literal3.Text += "|" + HttpContext.Current.User.IsInRole(roles).ToString();
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.