Home > api-openbis-matlab > user_url_pw_inputdlg.m

user_url_pw_inputdlg

PURPOSE ^

user_url_pw_inputdlg

SYNOPSIS ^

function [url, user, pw] = user_url_pw_inputdlg

DESCRIPTION ^

user_url_pw_inputdlg
   Return the URL, user name and password for the openBIS server

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [url, user, pw] = user_url_pw_inputdlg
0002 %user_url_pw_inputdlg
0003 %   Return the URL, user name and password for the openBIS server
0004 
0005 prompt = {'openBIS URL:', 'openBIS user:'};
0006 title = 'openBIS connection details';
0007 definput = {'https://XYZ.ethz.ch/openbis:8443', ''};
0008 answer = inputdlg(prompt, title, 1, definput);
0009 
0010 url = answer{1};
0011 user = answer{2};
0012 
0013 % pw = passwordEntryDialog('CheckPasswordLength',0);
0014 pw = passcode;
0015 
0016 end

Generated on Tue 06-Jul-2021 16:01:18 by m2html © 2005