CredentialPersistence Enum
Specifies the persistence of a credential in the Windows Credential Manager.
public enum CredentialPersistence : uintFields
| Name | Value | Description |
|---|---|---|
Session | 1 | The credential persists for the duration of the current logon session. |
LocalMachine | 2 | The credential persists for all subsequent logon sessions on the local machine. |
Enterprise | 3 | The credential persists for all subsequent logon sessions and is available across the enterprise. |