CmisSync.Lib.Cmis.UiUtils.LoginCredentials.LogIn C# (CSharp) Метод

LogIn() публичный Метод

Tries to log in on with the given credentials
public LogIn ( ISessionFactory sessionFactory ) : bool
sessionFactory ISessionFactory Use the given session factory for login. If null is passed, the default DotCMIS SessionFactory is used.
Результат bool
        public bool LogIn(ISessionFactory sessionFactory) {
            // Create session factory if non is given
            var factory = sessionFactory ?? SessionFactory.NewInstance();
            try {
                this.Repositories = this.Credentials.GetRepositories(factory);
                return true;
            } catch (Exception e) {
                this.FailedException = new LoginException(e);
                return false;
            }
        }

Same methods

LoginCredentials::LogIn ( ) : bool
LoginCredentials