Platforms to show: All Mac Windows Linux Cross-Platform

The module WindowsCredentialsMBS   New in 26.5

module WindowsCredentialsMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
module Windows MBS Win Plugin 26.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes Desktop, Console & Web
The module for functions to read and write secure credentials.

Constants

Constant Value Description
FlagsPreserveCredentialBlob 1 One of the flags for Write(). The credential BLOB from an existing credential is preserved with the same credential name and credential type.
SessionWildcardName "*Session" The constant for a session wildcard.
UniversalWildcard "*" The constant for an universal wildcard.

Errors

Constant Value Description
ErrorAlreadyExists &hFDA Already exists.
ErrorBadUserName 2202 The UserName member of the passed in Credential structure is not valid. For a description of valid user name syntax, see the definition of that member.
ErrorInvalidFlags &h3EC A flag that is not valid was specified for the Flags parameter.
ErrorInvalidParameter 87 Certain fields cannot be changed in an existing credential. This error is returned if a field does not match the value in a protected field of the existing credential.
ErrorNone 0 Success
ErrorNoSuchLogonSession &h520 The logon session does not exist or there is no credential set associated with this logon session. Network logon sessions do not have an associated credential set.
ErrorNotFound &h490 No credential exists with the specified TargetName.
ErrorSCardNoReadersAvailable &h8010002E The certificate credential being written requires the smart card reader to be available.
ErrorSCardNoSmartCard &h8010000C A certificate credential being written requires the smart card to be inserted.
ErrorSCardRemovedCard &h80100069 A certificate credential being written requires the smart card to be inserted.
ErrorSCardWrongCHV &h8010006B The wrong PIN was supplied for the certificate credential being written.

Release notes

  • Version 16.5
    • Added WindowsCredentialsMBS module, WindowsCredentialMBS and WindowsCredentialAttributeMBS classes.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...