Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now in any page in the application, the netid is accessible as Context.User.Identity.Name.

For an alternative code sample that also implements a Role Provider see ASP.NET Forms Authentication with Role Provider.