SPSecurityContext members
Provides a static utility class that contains properties and methods to work with the security context of the current user.
The SPSecurityContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsWindowsIdentityAvailable | Gets a value that indicates whether a Windows identity is available for the current user. |
Top
Methods
Name | Description | |
---|---|---|
GetWindowsIdentity | Returns the Windows identity of the current user. | |
SecurityTokenForContext | Returns credentials that the current user can use to access a resource at a specified location. | |
SecurityTokenForFormsAuthentication(Uri, String, String, String, String) | Obsolete. Obtains a security token for a user authenticating through forms-based authentication. | |
SecurityTokenForFormsAuthentication(Uri, String, String, String, String, SPFormsAuthenticationOption) |
Top