This documentation is archived and is not being maintained.

FormsAuthentication.GetAuthCookie Method

Creates an authentication cookie for a given user name.

Name Description
FormsAuthentication.GetAuthCookie (String, Boolean)
Creates an authentication cookie for a given user name. This does not set the cookie as part of the outgoing response, so that an application can have more control over how the cookie is issued.
FormsAuthentication.GetAuthCookie (String, Boolean, String)
Creates an authentication cookie for a given user name. This does not set the cookie as part of the outgoing response.
Show: