Table of Contents

Class UserNameAndPasswordCredential

Namespace
Skyline.DataMiner.Automation.Credentials
Assembly
SLManagedAutomation.dll

Represents a set of credentials containing a username and a password.

public class UserNameAndPasswordCredential : ScriptCredential
Inheritance
UserNameAndPasswordCredential
Inherited Members
Extension Methods

Examples

var credential = engine.GetCredential("myCredential") as UserNameAndPasswordCredential;

string userName = credential.UserName;
string password = credential.Password;

Remarks

note

Available from DataMiner 10.6.10/10.7.0 onwards.

Properties

Password

Gets the password stored in the Credentials Library.

Type

Gets the type of the credentials, which always is UserNameAndPassword.

UserName

Gets the username stored in the Credentials Library.

Methods

GetPassword()

Gets the password stored in the Credentials Library.

GetToken()

Not supported. Username and password credentials do not contain a token.

GetUserName()

Gets the username stored in the Credentials Library.

Advanced search syntax