Metabase > Metabase Assembly Interfaces > ICredentials
The ICredentials interface contains properties and methods used to work with credentials of the platform users.
Property name | Brief description | |
![]() |
Authentication | The Authentication property returns the authentication type used on connection with the current credentials. |
![]() |
ConnectAsPrivilege | The ConnectAsPrivilege property determines a database server connection with the specified privilege. NOTE. The property is not intended to be used in application code. It is kept to be compatible with previous versions. |
![]() |
ErrorMessage | The ErrorMessage property determines a comment for the login that is known to fail. |
![]() |
ForceError | The ForceError property determines a login that is known to fail. |
![]() |
Role | The Role property determines application role parameters. |
![]() |
SlotCount | The SlotCount property returns the number of columns in the table with repository credentials. |
![]() |
SlotName | The SlotName property returns the name of the table with repository credentials column. |
![]() |
SlotValue | The SlotValue property determines a value of the repository credentials table column. |
![]() |
UserCertificate | The UserCertificate property determines user connections by certificate. |
![]() |
UserDescription | The UserDescription property determines a full user name to write it into the access protocol. |
![]() |
UserIP | The UserIP property determines an IP address of the user to write it into the access protocol. |
![]() |
UserOS | The UserOS property determines a user name of the operating system to write it into the access protocol. |
![]() |
UserStation | The UserStation property determines a user workstation name to write it into the access protocol. |
![]() |
UseUserOSForDocumentLabels | The UseUserOSForDocumentLabels property determines whether the name of the operating system user is displayed in the document marking. |
Method name | Brief description | |
![]() |
Assign | The Assign method fills in the user credentials with the credentials sent by the parameter. |
See also: