BugzillaInterface.UserService.TryLogin C# (CSharp) Method

TryLogin() public method

public TryLogin ( ) : bool
return bool
        public bool TryLogin()
        {
            return TryLogin(Source.UserName, Source.Password);
        }

Same methods

UserService::TryLogin ( string login, string password ) : bool

Usage Example

Esempio n. 1
0
 public bool LoginAndVerify()
 {
     User = new UserService(this);
     if(!Verified && !User.LoggedIn)
     {
         if(User.TryLogin())
         {
             Verified = true;
             return true;
         }
     }
     return false;
 }