...
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.
Another alternative code sample based on this tutorial that supports Single Sign Out with sample app is available here.