SPSecurityContext methods

The SPSecurityContext type exposes the following members.

  Name Description
Public method Static member GetWindowsIdentity Returns the Windows identity of the current user.
Public method Static member SecurityTokenForContext Returns credentials that the current user can use to access a resource at a specified location.
Public method Static member SecurityTokenForFormsAuthentication(Uri, String, String, String, String) Obsolete. Obtains a security token for a user authenticating through forms-based authentication.
Public method Static member SecurityTokenForFormsAuthentication(Uri, String, String, String, String, SPFormsAuthenticationOption)
Top
Show: