Credentials Class
The Credentials class exposes methods to manage user and group credentials and access tokens.
System.Object
Microsoft.SharePoint.Portal.SingleSignon.Credentials
Public Constructors
The following table shows the Credentials class constructor and provides a brief description.
Name | Description |
---|---|
Credentials | Initializes a new instance of the Credentials class. |
Public Methods
The following table shows the Credentials class methods and provides a brief description of each.
Name | Description |
---|---|
DeleteAllUserCredentials(String) | Deletes all credentials for the specified user or group for all enterprise application definitions. |
DeleteUserCredentials(String, String) | Deletes all credentials for the specified user or group for the enterprise application definition. |
GetCredentials(Int32, String, String[]) | Gets credentials for the specified enterprise application definition. |
GetCredentialsUsingTicket(Int32, String, String, String[]) | Gets credentials for the specified access token. |
ReserveCredentialTicket(SingleSignonTicketType, String) | Reserves an access token. |
SetCredentials(Int32, String, object[]) | Sets the credentials for the specified enterprise application definition. |
SetGroupCredentials(String, String, object[]) | Sets the group credentials for the enterprise application definition. |
SetUserCredentials(String, String, object[]) | Sets credentials for the specified user for the enterprise application definition. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.
Example
The following code example shows how to use the Credentials class.
Requirements
Namespace: Microsoft.SharePoint.Portal.SingleSignon
Platforms: Microsoft Windows Server 2003
Assembly: Microsoft.SharePoint.Portal.SingleSignon (in Microsoft.SharePoint.SingleSignon.dll)
Security: Code Access Security