SPSecurityContext Methods
Collapse the table of content
Expand the table of content

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 Obtains a security token for a user authenticating through forms-based authentication.
© 2016 Microsoft