Platforms to show: All Mac Windows Linux Cross-Platform
WindowsCredentialMBS class New in 26.5
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Windows | MBS Win Plugin | 26.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | Desktop, Console & Web |
See KeychainMBS class for macOS/iOS.
- 10 properties
- property AttributeCount as Integer
- property Comment as String
- property CredentialBlob as MemoryBlock
- property Flags as Integer
- property LastWritten as Date
- property Persist as Integer
- property TargetAlias as String
- property TargetName as String
- property Type as Integer
- property UserName as String
- 2 methods
- method Constructor
- method CredentialAttributes as WindowsCredentialAttributeMBS()
- 19 constants
Flags
| Constant | Value | Description |
|---|---|---|
| FlagsNGCCert | 128 |
Indicates that the credential is VSM protected. |
| FlagsOWFCredBlob | 8 | |
| FlagsPasswordForCert | 1 | |
| FlagsPromptNow | 2 | Bit set if the credential does not persist the CredentialBlob and the credential has not been written during this logon session. This bit is ignored on input and is set automatically when queried. more |
| FlagsRequireConfirmation | 16 | |
| FlagsUserNameTarget | 4 | Bit is set if this credential has a TargetName member set to the same value as the UserName member. Such a credential is one designed to store the CredentialBlob for a specific user. For more information, see the CredMarshalCredential function. more |
| FlagsValidFlags | &hF0FF |
Mask for all valid flags. |
| FlagsValidInputFlags | &hF09F |
Mask for all valid input flags. |
| FlagsVSMProtected | 64 |
Indicates that the credential is VSM protected. |
Persistence
| Constant | Value | Description |
|---|---|---|
| PersistEnterprise | 3 | The credential persists for all subsequent logon sessions on this same computer. It is visible to other logon sessions of this same user on this same computer and to logon sessions for this user on other computers. more |
| PersistLocalMachine | 2 |
The credential persists for all subsequent logon sessions on this same computer. It is visible to other logon sessions of this same user on this same computer and not visible to logon sessions for this user on other computers. |
| PersistNone | 0 |
Not set. |
| PersistSession | 1 |
The credential persists for the life of the logon session. It will not be visible to other logon sessions of this same user. It will not exist after this user logs off and back on. |
Types
| Constant | Value | Description |
|---|---|---|
| TypeDomainCertificate | 3 | The credential is a certificate credential and is specific to Microsoft's authentication packages. more |
| TypeDomainExtended | 6 |
The credential is supported by extended Negotiate packages. |
| TypeDomainPassword | 2 | The credential is a password credential and is specific to Microsoft's authentication packages. more |
| TypeGeneric | 1 |
The credential is a generic credential. The credential will not be used by any particular authentication package. The credential will be stored securely but has no other significant characteristics. |
| TypeGenericCertificate | 5 |
The credential is a certificate credential that is a generic authentication package. |
| TypeMaximum | 7 |
The maximum number of supported credential types. |
This class has no sub classes.
Release notes
- Version 16.5
- Added WindowsCredentialsMBS module, WindowsCredentialMBS and WindowsCredentialAttributeMBS classes.
Some methods using this class:
- WindowsCredentialsMBS.FindBestCredential(TargetName as String) as WindowsCredentialMBS
- WindowsCredentialsMBS.List(Filter as String = "", Flags as Integer = 0) as WindowsCredentialMBS()
- WindowsCredentialsMBS.Read(TargetName as String, Type as Integer = 1, Flags as Integer = 0) as WindowsCredentialMBS
- WindowsCredentialsMBS.Write(Credential as WindowsCredentialMBS, Flags as Integer = 0) as Boolean
Some related classes:
The items on this page are in the following plugins: MBS Win Plugin.
WindowsCredentialAttributeMBS - WindowsDecompressorMBS