Gets the stored credentials for the specified application.
Namespace: ININ.IceLib.ConnectionAssembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public static StoredCredentials GetCredentials( string applicationName ) |
Visual Basic |
---|
Public Shared Function GetCredentials ( _ applicationName As String _ ) As StoredCredentials |
Parameters
- applicationName
- Type: System..::..String
The unique name of the application storing the credentials.
Return Value
The StoredCredentials object that was last saved under applicationName, or nullNothingnullptra null reference (Nothing in Visual Basic) if there are no credentials stored for that application.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.