PageRenderTime 1169ms queryTime 193ms sortTime 303ms getByIdsTime 81ms findMatchingLines 15ms

100+ results results for 'username repo:postgres/postgres' (1169 ms)

Not the results you expected?
DauKy_KhaiBaoTonKho.ascx.cs http://ki-va-le.googlecode.com/svn/trunk/ | C# | 351 lines
                    
26        dsDetail.SelectCommand = @"select k.id,k.Seri,k.NgayNhap,k.NhomHangId,k.MaCN,k.TenHang,k.PicUrl,k.GhiChu,k.MaVach,k.GiaNhap,k.GiaBanThamKhao,
                    
27k.ChietKhau,k.GiaBanThucTe,k.SoLuong,k.UserName,k.Del,case when N.GioiTinh=0 then N'Hŕng c?a n?' else N'Hŕng c?a nam' end as  GioiTinh
                    
28from KhoHang k inner join NhomHang N on k.NhomHangID=N.ID where k.MaCN='" + UserInfo.Brn_Code + "' and del=0 and k.HangMoi=0 and daban=0";
                    
84                logInfo.Ip = Request.UserHostAddress;
                    
85                logInfo.UserName = UserInfo.userName;
                    
86                logInfo.Type = TTQTCommon.logXoaKhaiBaoDauKy;
                    
279            comm.Parameters.AddWithValue("@GiaBanThamKhao", txtGiaBan.Text.Replace(",", ""));
                    
280            comm.Parameters.AddWithValue("@UserName", this.UserInfo.userName);
                    
281
                    
                
FolderPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 452 lines
                    
130
                    
131		newFolder.setUserName(RandomTestUtil.randomString());
                    
132
                    
153		Assert.assertEquals(existingFolder.getUserId(), newFolder.getUserId());
                    
154		Assert.assertEquals(existingFolder.getUserName(),
                    
155			newFolder.getUserName());
                    
211		return OrderByComparatorFactoryUtil.create("Mail_Folder", "folderId",
                    
212			true, "companyId", true, "userId", true, "userName", true,
                    
213			"createDate", true, "modifiedDate", true, "accountId", true,
                    
429
                    
430		folder.setUserName(RandomTestUtil.randomString());
                    
431
                    
                
SFTPConnection.cs https://SSISExtensions.svn.codeplex.com/svn | C# | 288 lines
                    
18        public string hostName { get; set; }
                    
19        public string userName { get; set; }
                    
20        public string passWord { get; set; }
                    
34        /// <param name="hostName">Name of the host.</param>
                    
35        /// <param name="userName">Name of the user.</param>
                    
36        /// <param name="passWord">The pass word.</param>
                    
40        /// <param name="logLevel">The log level.</param>
                    
41        public SFTPConnection(string hostName, string userName, string passWord, int portNumber, bool stopOnFailure, IDTSComponentEvents componentEvents, LogLevel logLevel)
                    
42        {
                    
43            this.hostName = hostName;
                    
44            this.userName = userName;
                    
45            this.passWord = passWord;
                    
108
                    
109                using (SftpClient sftp = new SftpClient(this.hostName, this.portNumber, this.userName, this.passWord))
                    
110                {
                    
                
JournalFolderModel.java git://github.com/liferay/liferay-portal.git | Java | 596 lines
                    
177	@Override
                    
178	public String getUserName();
                    
179
                    
182	 *
                    
183	 * @param userName the user name of this journal folder
                    
184	 */
                    
185	@Override
                    
186	public void setUserName(String userName);
                    
187
                    
363	@Override
                    
364	public String getStatusByUserName();
                    
365
                    
371	@Override
                    
372	public void setStatusByUserName(String statusByUserName);
                    
373
                    
                
package-tree.html http://vt-middleware.googlecode.com/svn/ | HTML | 178 lines
                    
110<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/RepeatCharacterRegexRule.html" title="class in edu.vt.middleware.password"><B>RepeatCharacterRegexRule</B></A></UL>
                    
111<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/RuleResult.html" title="class in edu.vt.middleware.password"><B>RuleResult</B></A><LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/RuleResultDetail.html" title="class in edu.vt.middleware.password"><B>RuleResultDetail</B></A><LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/UsernameRule.html" title="class in edu.vt.middleware.password"><B>UsernameRule</B></A> (implements edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/Rule.html" title="interface in edu.vt.middleware.password">Rule</A>)
                    
112<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/WhitespaceRule.html" title="class in edu.vt.middleware.password"><B>WhitespaceRule</B></A> (implements edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/Rule.html" title="interface in edu.vt.middleware.password">Rule</A>)
                    
                
package-tree.html http://vt-middleware.googlecode.com/svn/ | HTML | 180 lines
                    
112<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/DictionaryRuleResult.html" title="class in edu.vt.middleware.password"><B>DictionaryRuleResult</B></A></UL>
                    
113<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/RuleResultDetail.html" title="class in edu.vt.middleware.password"><B>RuleResultDetail</B></A><LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/UsernameRule.html" title="class in edu.vt.middleware.password"><B>UsernameRule</B></A> (implements edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/Rule.html" title="interface in edu.vt.middleware.password">Rule</A>)
                    
114<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/WhitespaceRule.html" title="class in edu.vt.middleware.password"><B>WhitespaceRule</B></A> (implements edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/Rule.html" title="interface in edu.vt.middleware.password">Rule</A>)
                    
                
WikiPageCacheModel.java git://github.com/liferay/liferay-portal.git | Java | 398 lines
                    
82		sb.append(", userName=");
                    
83		sb.append(userName);
                    
84		sb.append(", createDate=");
                    
139
                    
140		if (userName == null) {
                    
141			wikiPageImpl.setUserName(StringPool.BLANK);
                    
143		else {
                    
144			wikiPageImpl.setUserName(userName);
                    
145		}
                    
220		if (statusByUserName == null) {
                    
221			wikiPageImpl.setStatusByUserName(StringPool.BLANK);
                    
222		}
                    
223		else {
                    
224			wikiPageImpl.setStatusByUserName(statusByUserName);
                    
225		}
                    
                
package-use.html http://rapla.googlecode.com/svn/ | HTML | 299 lines
                    
117 
                    
118 This class handles access to the preferences such as username, password and
                    
119 server url.</div>
                    
147 
                    
148 This class handles access to the preferences such as username, password and
                    
149 server url.</div>
                    
215 
                    
216 This class handles access to the preferences such as username, password and
                    
217 server url.</div>
                    
                
__init__.py git://pkgs.fedoraproject.org/gwibber | Python | 332 lines
                    
17    "access_token",
                    
18    "username",
                    
19    "site_display_name",
                    
76      m["text"] = util.unescape(data["text"])
                    
77      m["to_me"] = ("@%s" % self.account["username"]) in data["text"]
                    
78
                    
120        "url": "/".join((self.url_prefix, user["screen_name"])) or None,
                    
121        "is_me": user.get("screen_name", None) == self.account["username"],
                    
122    }
                    
168    m["recipient"]["url"] = "/".join((self.account["url_prefix"], m["recipient"]["nick"]))
                    
169    m["recipient"]["is_me"] = m["recipient"]["nick"].lower() == self.account["username"].lower()
                    
170    m["to_me"] = m["recipient"]["is_me"]
                    
                
class.login.php http://sudeep-co-in.googlecode.com/svn/trunk/ | PHP | 298 lines
                    
9		var $database_logon = 'sudeep_27092010';	//Database NAME
                    
10		var $username_logon = 'root';				//Database USERNAME
                    
11		var $password_logon = 'kumars';				//Database PASSWORD
                    
30		//login function
                    
31		function login($table, $username, $password)
                    
32		{	
                    
221	              echo'<form name="'.$formname.'" method="post" id="'.$formname.'" class="'.$formclass.'" enctype="application/x-www-form-urlencoded" action="'.$formaction.'">
                    
222					<div><label for="username">Username</label>
                    
223					<input name="username" id="username" type="text"></div>
                    
235					<div><label for="username">Username</label>
                    
236					<input name="username" id="username" type="text"></div>
                    
237					<input name="action" id="action" value="resetlogin" type="hidden">
                    
279			        $_SESSION['loggedin'] = $row[$this->pass_column]; 
                    
280			        $_SESSION['username'] = $username; 
                    
281			        //userlevel session is optional.Use it if you have different user levels
                    
                
index.js git://github.com/mde/geddy.git | JavaScript | 330 lines
                    
82      @param {String} [options.protocol] The protocol to use(Uses Geddy's current protocol('http' default))
                    
83      @param {String} [options.username] Includes a username in the path. Requires `password` or
                    
84                                         it'll be ignored
                    
84                                         it'll be ignored
                    
85      @param {String} [options.password] Includes a password in the path. Requires `username` or
                    
86                                         it'll be ignored
                    
                
cvs-allow-root-regexp.patch git://git.savannah.gnu.org/administration.git | Patch | 360 lines
                    
103 specific reason for denying authorization.  Check that
                    
104 the username and password specified are correct and
                    
105 that the @code{CVSROOT} specified is allowed by @samp{--allow-root}
                    
                
JournalArticleSoap.java git://github.com/liferay/liferay-portal.git | Java | 427 lines
                    
42		soapModel.setUserId(model.getUserId());
                    
43		soapModel.setUserName(model.getUserName());
                    
44		soapModel.setCreateDate(model.getCreateDate());
                    
67		soapModel.setStatusByUserId(model.getStatusByUserId());
                    
68		soapModel.setStatusByUserName(model.getStatusByUserName());
                    
69		soapModel.setStatusDate(model.getStatusDate());
                    
169
                    
170	public String getUserName() {
                    
171		return _userName;
                    
173
                    
174	public void setUserName(String userName) {
                    
175		_userName = userName;
                    
381
                    
382	public void setStatusByUserName(String statusByUserName) {
                    
383		_statusByUserName = statusByUserName;
                    
                
AccountCacheModel.java git://github.com/liferay/liferay-portal.git | Java | 414 lines
                    
75		sb.append(userId);
                    
76		sb.append(", userName=");
                    
77		sb.append(userName);
                    
134
                    
135		if (userName == null) {
                    
136			accountImpl.setUserName(StringPool.BLANK);
                    
138		else {
                    
139			accountImpl.setUserName(userName);
                    
140		}
                    
246		userId = objectInput.readLong();
                    
247		userName = objectInput.readUTF();
                    
248		createDate = objectInput.readLong();
                    
291
                    
292		if (userName == null) {
                    
293			objectOutput.writeUTF(StringPool.BLANK);
                    
                
BSComment.cs https://blogsa.svn.codeplex.com/svn | C# | 469 lines
                    
24    }
                    
25    private string _UserName;
                    
26    public string UserName
                    
27    {
                    
28        get { return _UserName; }
                    
29        set { _UserName = value; }
                    
365        bsComment.UserID = Convert.ToInt32(dr["UserID"]);
                    
366        bsComment.UserName = dr["Name"].ToString();
                    
367        bsComment.WebPage = dr["WebPage"].ToString();
                    
374            {
                    
375                bsComment.UserName = user.Name;
                    
376                bsComment.WebPage = user.WebPage;
                    
432            dp.AddParameter("PostID", PostID);
                    
433            dp.AddParameter("Name", UserName);
                    
434            dp.AddParameter("Comment", Content);
                    
                
GithubUrlUtilTest.java git://github.com/JetBrains/intellij-community.git | Java | 316 lines
                    
76
                    
77    tests.add("git@github.com:username/repo/", "github.com/username/repo/");
                    
78    tests.add("https://username:password@github.com/user/repo/", "github.com/user/repo/");
                    
194    tests.add("http://github.com/username/reponame/", new GithubFullPath("username", "reponame"));
                    
195    tests.add("https://github.com/username/reponame/", new GithubFullPath("username", "reponame"));
                    
196    tests.add("git://github.com/username/reponame/", new GithubFullPath("username", "reponame"));
                    
196    tests.add("git://github.com/username/reponame/", new GithubFullPath("username", "reponame"));
                    
197    tests.add("git@github.com:username/reponame/", new GithubFullPath("username", "reponame"));
                    
198
                    
198
                    
199    tests.add("https://github.com/username/reponame", new GithubFullPath("username", "reponame"));
                    
200    tests.add("https://github.com/username/reponame.git", new GithubFullPath("username", "reponame"));
                    
224
                    
225    tests.add("http://github.com/username/reponame/", "https://github.com/username/reponame");
                    
226    tests.add("https://github.com/username/reponame/", "https://github.com/username/reponame");
                    
                
pt.php git://git.savannah.nongnu.org/easymagazine.git | PHP | 271 lines
                    
113define('LANG_ADMIN_TABLE_TWITTER', 'Send to Twitter button');
                    
114define('LANG_ADMIN_TABLE_USERNAME', 'Nome do utilizador');
                    
115define('LANG_ADMIN_TABLE_SHOW_IN_PEOPLE_PAGE', 'Mostrar na p&aacute;gina Pessoas');
                    
214define('LANG_CON_USER_SAVED', 'Utilizador guardado');
                    
215define('LANG_CON_USER_WITH_SAME_USERNAME', 'O nome the utilizador que escolheu j&aacute; se encontra a ser usado por outra pessoa');
                    
216
                    
256define('LANG_LOGIN_NEW_PASSWORD_IS', 'A sua nova palavra-passe &eacute;:');
                    
257define('LANG_LOGIN_USERNAME_PASSWORD_WRONG', 'Nome de utilizador ou palavra-passe incorrectos');
                    
258define('LANG_LOGIN_TRY_AGAIN', 'Clique aqui para tentar de novo');
                    
                
WebsitePersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 494 lines
                    
126
                    
127		newWebsite.setUserName(RandomTestUtil.randomString());
                    
128
                    
156		Assert.assertEquals(existingWebsite.getUserId(), newWebsite.getUserId());
                    
157		Assert.assertEquals(existingWebsite.getUserName(),
                    
158			newWebsite.getUserName());
                    
259			true, "uuid", true, "websiteId", true, "companyId", true, "userId",
                    
260			true, "userName", true, "createDate", true, "modifiedDate", true,
                    
261			"classNameId", true, "classPK", true, "url", true, "typeId", true,
                    
467
                    
468		website.setUserName(RandomTestUtil.randomString());
                    
469
                    
                
MDRRuleGroupModel.java git://github.com/liferay/liferay-portal.git | Java | 501 lines
                    
173	@Override
                    
174	public String getUserName();
                    
175
                    
178	 *
                    
179	 * @param userName the user name of this m d r rule group
                    
180	 */
                    
181	@Override
                    
182	public void setUserName(String userName);
                    
183
                    
                
guanli.asp http://asp-wap-cms.googlecode.com/svn/trunk/ | ASP | 312 lines
                    
226Function save()
                    
227	username=Trim(Request("username"))
                    
228	password=Trim(Request("password"))
                    
243			set rs=Server.CreateObject("ADODB.Recordset")
                    
244			rs.open"select ID from 74hu_admin where username='"&username&"' and id<>"&id,conn,1,1
                    
245			if not rs.eof then
                    
257			end if
                    
258			if user_level=0 then rs("username")=username
                    
259			rs("password")=md5(md5(password,16),32)
                    
278		set rs=Server.CreateObject("ADODB.Recordset")
                    
279		rs.open"select ID from 74hu_admin where username='"&username&"' and id<>"&id,conn,1,1
                    
280		if not rs.eof then
                    
289			rs.addnew()
                    
290			rs("username")=username
                    
291			rs("password")=md5(md5(password,16),32)
                    
                
editImages.php http://collman.googlecode.com/svn/trunk/ | PHP | 299 lines
                    
10	if($session->logged_in){
                    
11	   echo "<p style=\"color:white;font-size:14px;position:absolute;top:50px;right:20px;\">Logged in:<strong>$session->username</strong><br />";
                    
12  	 echo "[<a style='color:white;' href=\"login_process.php\">Logout</a>]";
                    
96		if (isset($flagNotPublic)) {$flagNotPublic = 1;}
                    
97		mysqli_query($dbcnx, "UPDATE $tablename SET catalogNumber ='$catalogNumber', fieldNumber = '$fieldNumber', imageSubject='$imageSubject', imageCategory='$imageCategory', imageContent = '$imageContent', imageColor ='$imageColor', imageArchive='$imageArchive', imageArchiveID ='$imageArchiveID', imageCopyright ='$imageCopyright', imageCopyrightHolder='$imageCopyrightHolder', imageArtist = '$imageArtist', imageSecondArtist = '$imageSecondArtist', textDateImageMade = '$textDateImageMade', dateImageMade='$dateImageMade', imageInformation='$imageInformation', originalImageFile='$originalImageFile', imageFile='$imageFile', imageFileCompressed='$imageFileCompressed', flagNotPublic='$flagNotPublic', lastModified = CURRENT_TIMESTAMP, modifiedBy ='".$session->username."', imageRemarks = '$imageRemarks' WHERE imageNumber = '$imageNumber'"); 
                    
98		// Get and show NEW Data	
                    
                
xnoise-lastfm.vala https://code.google.com/p/xnoise/ | Vala | 488 lines
                    
120	
                    
121	public void login(string username, string password) {
                    
122		Idle.add( () => {
                    
122		Idle.add( () => {
                    
123			session.login(username, password);
                    
124			return false;
                    
409		//print("take over entry\n");
                    
410		string username = EMPTYSTRING, password = EMPTYSTRING;
                    
411		if(user_entry.text != null)
                    
414			password = pass_entry.text.strip();
                    
415		if(username_last == user_entry.text.strip() && password_last == pass_entry.text.strip())
                    
416			return; // no need to spam!
                    
420			Xnoise.Params.set_string_value("lfm_pass", password);
                    
421			username_last = username;
                    
422			password_last = password;
                    
                
WorkflowInstanceEditDisplayContext.java git://github.com/liferay/liferay-portal.git | Java | 402 lines
                    
119
                    
120		String userName = PortalUtil.getUserName(
                    
121			workflowLog.getAuditUserId(), StringPool.BLANK);
                    
124		return new Object[] {
                    
125			HtmlUtil.escape(userName), HtmlUtil.escape(actorName)
                    
126		};
                    
152		return HtmlUtil.escape(
                    
153			PortalUtil.getUserName(
                    
154				workflowLog.getPreviousUserId(), StringPool.BLANK));
                    
                
frmProcedureEditor.pas http://dbaexplorer.googlecode.com/svn/trunk/ | Pascal | 475 lines
                    
114  ChangeVisualGUI(self);
                    
115  Caption := ProcSource.OraSession.Server+'/'+ProcSource.OraSession.UserName+' - '+'Procedure Editor' +' ('+ProcSource.SOURCE_NAME+')';
                    
116  editorStatusBar.Panels[0].Text := ProcSource.OraSession.Server+'/'+ProcSource.OraSession.UserName;
                    
192    SQLEditor.Lines.LoadFromFile(OpenDialog.FileName);
                    
193    Caption := FProcSource.OraSession.Server+'/'+FProcSource.OraSession.UserName+' - '+'Procedure Editor' +' ('+OpenDialog.FileName+')';
                    
194    with MainFrm.dxBarListWindows do
                    
204    SQLEditor.Lines.SaveToFile(SaveDialog.FileName);
                    
205    Caption := FProcSource.OraSession.Server+'/'+FProcSource.OraSession.Username+' - '+'Procedure Editor' +' ('+SaveDialog.FileName+')';
                    
206    with MainFrm.dxBarListWindows do
                    
                
morg.php git://pkgs.fedoraproject.org/php-getid3 | PHP | 416 lines
                    
109        $this->db_database = MYSQL_DATABASE;
                    
110        $this->db_username = MYSQL_USERNAME;
                    
111        $this->db_password = MYSQL_PASSWORD;
                    
                
HttpServerFunctionalTest.java git://github.com/apache/hbase.git | Java | 273 lines
                    
101        // InfoServer normally sets these for us
                    
102        .setUsernameConfKey(HttpServer.HTTP_SPNEGO_AUTHENTICATION_PRINCIPAL_KEY)
                    
103        .setKeytabConfKey(HttpServer.HTTP_SPNEGO_AUTHENTICATION_KEYTAB_KEY)
                    
                
grid.php http://comet.googlecode.com/svn/trunk/ | PHP | 195 lines
                    
75                            <th class="txtLeft columnFilter" id="user_last_name">Last Name</th>
                    
76                            <th class="txtLeft columnFilter" id="user_username">Username</th>
                    
77                            <th class="txtLeft columnFilter" id="user_is_active">Status</th>
                    
91                            <td width="20%">
                    
92                                <input type="text" name="userFilter[username][value]" class="hardtv-input-style-2" value="<?php echo $filters->getValue('username'); ?>" style="width:98%"/>
                    
93                                <input type="hidden" name="userFilter[username][type]" value="string"/>
                    
136                            <td>
                    
137                            	<?php echo $user->getUsername() ?>
                    
138                           	</td>
                    
                
test-lib.pl http://rose.googlecode.com/svn/trunk/ | Perl | 443 lines
                    
32      host     => 'localhost',
                    
33      username => 'postgres',
                    
34      password => '',
                    
49      host     => 'localhost',
                    
50      username => 'postgres',
                    
51      password => '',
                    
65      host     => 'localhost',
                    
66      username => 'postgres',
                    
67      password => '',
                    
86    host     => 'localhost',
                    
87    username => 'root',
                    
88    password => ''
                    
97    host     => 'localhost',
                    
98    username => 'root',
                    
99    password => ''
                    
                
webframework.py http://lh-abc.googlecode.com/svn/trunk/ | Python | 311 lines
                    
160        authorization = request.authorization
                    
161        conf_username = utility.webconfig.Read("username")
                    
162        conf_password = utility.webconfig.Read("password")
                    
162        conf_password = utility.webconfig.Read("password")
                    
163        if not conf_username:
                    
164            return True
                    
172                return False
                    
173            # Verify username and password
                    
174            auth = auth.strip().decode('base64')
                    
175            username, password = auth.split(':', 1)
                    
176            if username != conf_username or password != conf_password:
                    
177                return False
                    
191            try:
                    
192                username = amap['username']
                    
193                authpath = amap['uri']
                    
                
cachedhttp.py http://xbmc-scripting.googlecode.com/svn/trunk/ | Python | 378 lines
                    
56	fields[1]=fauth[0][2] #host
                    
57	name=urllib.unquote(fauth[0][0]) #username
                    
58	pwd=urllib.unquote(fauth[0][1]) #password
                    
                
models.py http://vyperblog.googlecode.com/svn/trunk/ | Python | 301 lines
                    
110    
                    
111    def create_inactive_user(self, username, password, email, first_name, last_name, domain_override="", send_email=True):
                    
112        """
                    
150        # prepend "key_" to the key_name, because key_names can't start with numbers
                    
151        new_user = User(username=username, key_name="key_"+username.lower(), email=email, first_name=first_name, last_name=last_name, is_active=False)
                    
152        new_user.set_password(password)
                    
186        SHA1 hash, generated from a combination of the ``User``'s
                    
187        username and a random salt.
                    
188        
                    
190        salt = sha.new(str(random.random())).hexdigest()[:5]
                    
191        activation_key = sha.new(salt+user.username).hexdigest()
                    
192#        prepend "key_" to the key_name, because key_names can't start with numbers     
                    
225           one or more accounts and never activating them (thus
                    
226           denying the use of those usernames to anyone else); since
                    
227           those accounts will be deleted, the usernames will become
                    
                
moefetch.sh https://code.google.com/p/moefetch/ | Shell | 421 lines
                    
88Err_Help() {
                    
89	echo "moefetch.sh COMMAND [-n] [-p PASSWORD] [-s SITE_URL] [-u USERNAME] TAGS
                    
90
                    
103		Specify URL of the Danbooru powered site you want to leech from. Default is ${DEFAULT_SITE}.
                    
104	-u USERNAME:
                    
105		Specifies username for login.
                    
                
AbstractTestSecureIPC.java git://github.com/apache/hbase.git | Java | 326 lines
                    
180    assertEquals(AuthenticationMethod.KERBEROS, ugi.getAuthenticationMethod());
                    
181    assertEquals(krbPrincipal, ugi.getUserName());
                    
182
                    
187  public void testRpcFallbackToSimpleAuth() throws Exception {
                    
188    String clientUsername = "testuser";
                    
189    UserGroupInformation clientUgi = UserGroupInformation.createUserForTesting(clientUsername,
                    
189    UserGroupInformation clientUgi = UserGroupInformation.createUserForTesting(clientUsername,
                    
190        new String[]{clientUsername});
                    
191
                    
194    assertEquals(AuthenticationMethod.SIMPLE, clientUgi.getAuthenticationMethod());
                    
195    assertEquals(clientUsername, clientUgi.getUserName());
                    
196
                    
                
AccountModel.java git://github.com/liferay/liferay-portal.git | Java | 559 lines
                    
136	@Override
                    
137	public String getUserName();
                    
138
                    
141	 *
                    
142	 * @param userName the user name of this account
                    
143	 */
                    
144	@Override
                    
145	public void setUserName(String userName);
                    
146
                    
                
FrmNewDatabaseServer.Designer.cs https://dnnazureaccelerator.svn.codeplex.com/svn | C# | 242 lines
                    
113            this.label1.TabIndex = 32;
                    
114            this.label1.Text = "Admin Username";
                    
115            // 
                    
                
MainWindow.xaml.cs https://WpfMembershipAdmin.svn.codeplex.com/svn | C# | 400 lines
                    
69            {
                    
70                yield return u.UserName;
                    
71            }
                    
108                {
                    
109                    String username = doubleClickedItem.Content as String;
                    
110                    if (username != null)
                    
111                    {
                    
112                        MembershipUser doubleClickedUser = Membership.GetUser(username);
                    
113                        if (doubleClickedUser != null)
                    
114                        {
                    
115                            UserDetailsWindow userDetails = this.BuildOwnedWindowWithTitle<UserDetailsWindow>(doubleClickedUser.UserName);
                    
116                            userDetails.DisplayedUser = doubleClickedUser;
                    
384                        streamWriter.WriteLine("\t\t@ApplicationName = @appname,");
                    
385                        streamWriter.WriteLine("\t\t@UserNames = N'{0}',", userName);
                    
386                        streamWriter.WriteLine("\t\t@RoleNames = N'{0}',", roleName);
                    
                
manager.rst http://ncclient.googlecode.com/svn/trunk/ | ReStructuredText | 320 lines
                    
22
                    
23.. function:: connect_ssh(host[, port=830, timeout=None, unknown_host_cb=default_unknown_host_cb, username=None, password, key_filename=None, allow_agent=True, look_for_keys=True])
                    
24    
                    
55    
                    
56    :param username: username to authenticate with, if not specified the username of the logged-in
                    
57                       user is used
                    
57                       user is used
                    
58    :type username: `string`
                    
59    
                    
                
ManageAccount.java http://parrot-im.googlecode.com/svn/trunk/ | Java | 425 lines
                    
73    private JPanel rightPanel, jabberServerPanel, jabberServerLabelPanel;
                    
74    private JPanel usernamePanel, setupPanel, passwordPanel;
                    
75    private JLabel jabberServerLabel, UNLabel, pwdLabel;
                    
206
                    
207        // set username
                    
208        usernamePanel = new JPanel();
                    
208        usernamePanel = new JPanel();
                    
209        usernamePanel.setBackground(model.tertiaryColor);
                    
210        UNField = new JTextField();
                    
212        UNField.setPreferredSize(new Dimension(160, 20));
                    
213        UNLabel = new JLabel("Username:     ");
                    
214        UNLabel.setBackground(model.tertiaryColor);
                    
215        UNLabel.setForeground(model.primaryTextColor);
                    
216        usernamePanel.add(UNLabel);
                    
217        usernamePanel.add(UNField);
                    
                
QuotaCache.java git://github.com/apache/hbase.git | Java | 406 lines
                    
134  public UserQuotaState getUserQuotaState(final UserGroupInformation ugi) {
                    
135    return computeIfAbsent(userQuotaCache, ugi.getShortUserName(), UserQuotaState::new,
                    
136      this::triggerCacheRefresh);
                    
                
basics.adoc git://github.com/infinispan/infinispan.git | AsciiDoc | 270 lines
                    
13Infinispan uses JIRA for issue management, hosted on link:$$http://issues.jboss.org/browse/ISPN$$[issues.jboss.org].
                    
14You can log in using your jboss.org username and password. 
                    
15
                    
68----
                    
69$ git clone git@github.com:YOUR_GITHB_USERNAME/infinispan.git
                    
70----
                    
                
BaseCmisSearchQueryBuilderTest.java git://github.com/liferay/liferay-portal.git | Java | 502 lines
                    
328
                    
329		searchContext.setKeywords("+title:test*.jpg +userName:bar*");
                    
330
                    
                
mysql.php https://code.google.com/p/prjtest00/ | PHP | 307 lines
                    
78   $database = $cfg["servers"][$id]["sakuradb"];
                    
79   $this->connections[0]  = mysqli_connect($database["host"],$database["username"],$database["password"],$database["database"]);
                    
80   if (!$this->connections[0]) {
                    
89 foreach ($cfg["servers"][$id]["mysqlconfig"]["databases"] as $database) {
                    
90 $this->connections[$i]  = mysqli_connect($database["host"],$database["username"],$database["password"],$database["database"]);
                    
91// Catch an error!
                    
                
filepost_com.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 269 lines
                    
131        $password = ($_REQUEST["premium_pass"] ? trim($_REQUEST["premium_pass"]) : $premium_acc ["filepost_com"] ["pass"]);
                    
132        if (empty($email) || empty($password)) html_error("Login failed, username or password is empty!");
                    
133
                    
                
msql_driver.inc http://scalr.googlecode.com/svn/ | PHP | 600 lines
                    
24
                    
25	function _connect($host = "", $username = "", $password = "", $database = "", $persistent, $forcenew)
                    
26	{
                    
29		$this->host = $host;
                    
30		$this->username = $username;
                    
31		$this->password = $password;
                    
                
apu_accounting.php git://pkgs.fedoraproject.org/ser | PHP | 391 lines
                    
46 *	'convert_sip_addresses_to_phonenumbers'	(bool) default: false
                    
47 *	 true if numerical username part of sip address from our domain should be 
                    
48 *	 displayed without domain and initial 'sip:'
                    
209		foreach($this->acc_res as $key => $val){
                    
210			$uname = $this->reg->get_username($val['to_uri']);
                    
211			$domain = $this->reg->get_domainname($val['to_uri']);
                    
                
https.tcl http://tkabbur.googlecode.com/svn/trunk/ | TCL | 678 lines
                    
36#               -command    tclProc {status socket}
                    
37#               -username   userid
                    
38#               -password   password
                    
62	-timeout    60000
                    
63	-username   ""
                    
64	-password   ""
                    
304
                    
305    # if username is domain/username or domain\username
                    
306    # then set domain and username
                    
306    # then set domain and username
                    
307    set username $state(-username)
                    
308    regexp {(\w+)[\\/](.*)} $username -> domain username
                    
311			   -host $host \
                    
312			   -username $username \
                    
313			   -password $state(-password)]
                    
                
Utils.cpp http://mmo-resourse.googlecode.com/svn/ | C++ | 454 lines
                    
365
                    
366_tstring GetUserName()
                    
367{
                    
373   {
                    
374      TCHAR userName[UNLEN + 1] ;
                    
375	  DWORD userNameLen = UNLEN;
                    
376
                    
377      if ( ::GetUserName( userName, &userNameLen ) )
                    
378      {
                    
378      {
                    
379		  name = userName;
                    
380      }
                    
                
main.ftl http://fishkang.googlecode.com/svn/trunk/ | Freemarker Template | 403 lines
                    
16			<input type="hidden" name="referer" value="main.action" />
                    
17			<input onclick="if(this.value=='???')this.value = ''" value="???" maxlength="40" size="15" name="username" id="username" 
                    
18	type="text" />
                    
357			?<strong>${totalusers}</strong>??? <span class="newuser">???:
                    
358			<a href="userinfo.action?userid=${lastuserid}">${lastusername}</a></span>
                    
359		</dd>
                    
370						<#if onlineuser.users.uid==-1>
                    
371							${onlineuser.username}
                    
372						<#else>
                    
376??: ${onlineuser.forumname}
                    
377</#if>	">${onlineuser.username}</a>
                    
378						</#if>
                    
                
auth.c git://pkgs.fedoraproject.org/tin | C | 487 lines
                    
63/*
                    
64 * Read the $HOME/.newsauth file and put authentication username
                    
65 * and password for the specified server in the given strings.
                    
214 *
                    
215 * If username/passwd already given, and server wasn't changed, retry those.
                    
216 * Otherwise, read password from ~/.newsauth or, if not present or no matching
                    
231	int ret = ERR_AUTHBAD, changed;
                    
232	static char authusername[PATH_LEN] = "";
                    
233	static char authpassword[PATH_LEN] = "";
                    
248		if (nntp_caps.sasl & SASL_PLAIN)
                    
249			ret = do_authinfo_sasl_plain(authusername, authpassword);
                    
250		if (ret != OK_AUTH)
                    
259	authpassword[0] = '\0';
                    
260	authuser = strncpy(authusername, authuser, sizeof(authusername) - 1);
                    
261	authpass = authpassword;
                    
                
ActivitiesPortlet.java git://github.com/liferay/liferay-plugins.git | Java | 422 lines
                    
108				mbMessage.getModifiedDate(), mbMessage.getUserId(),
                    
109				mbMessage.getUserName(), themeDisplay);
                    
110
                    
141				microblogsEntry.getContent(), microblogsEntry.getModifiedDate(),
                    
142				microblogsEntry.getUserId(), microblogsEntry.getUserName(),
                    
143				themeDisplay);
                    
303					mbMessage.getModifiedDate(), mbMessage.getUserId(),
                    
304					mbMessage.getUserName(), themeDisplay);
                    
305			}
                    
368					microblogsEntry.getModifiedDate(),
                    
369					microblogsEntry.getUserId(), microblogsEntry.getUserName(),
                    
370					themeDisplay);
                    
416
                    
417		jsonObject.put("userName", HtmlUtil.escape(userName));
                    
418
                    
                
AppLocalServiceImpl.java git://github.com/liferay/liferay-portal.git | Java | 540 lines
                    
378			app.setUserId(user.getUserId());
                    
379			app.setUserName(user.getFullName());
                    
380		}
                    
                
register.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 370 lines
                    
106    {
                    
107      fb(_("You must supply a username."),1);
                    
108    }
                    
116    {
                    
117      fb(_("That username already exists."),1);
                    
118    }
                    
121    {
                    
122      fb(_("That username is blocked to avoid conflict with mailing-list addresses."),1);
                    
123    }
                    
                
OpenValidPrideExperimentTask.java http://pride-toolsuite.googlecode.com/svn/ | Java | 361 lines
                    
41     */
                    
42    private String username;
                    
43    /**
                    
56     * @param expAccs  experiment accession
                    
57     * @param username pride user name
                    
58     * @param password pride password
                    
59     */
                    
60    public OpenValidPrideExperimentTask(List<Comparable> expAccs, String username, String password) {
                    
61        String msg = "Validate and loading PRIDE Experiments";
                    
64        this.experimentAccessions = expAccs;
                    
65        this.username = username;
                    
66        this.password = password;
                    
85            if (emptyUserCredentials) {
                    
86                username = context.getProperty("default.pride.username");
                    
87                password = context.getProperty("default.pride.password");
                    
                
OdacGui.inc http://xinhaining-dianjianyiqi-tongxunchengxu.googlecode.com/svn/trunk/ | Pascal | 359 lines
                    
32    property Caption;
                    
33    property UsernameLabel;
                    
34    property PasswordLabel;
                    
                
ConfigDialog.py http://raft.googlecode.com/svn/trunk/ | Python | 169 lines
                    
117        self.spiderUseDataBankCheckBox.setChecked(bool(self.value_or_default(obj, 'use_data_bank', True)))
                    
118        self.spiderSubmitUsernamePasswordCheckBox.setChecked(bool(self.value_or_default(obj, 'submit_user_name_password', True)))
                    
119        self.spiderEvaluateJavascriptCheckBox.setChecked(bool(self.value_or_default(obj, 'evaluate_javascript', True)))
                    
135        obj['use_data_bank'] = self.spiderUseDataBankCheckBox.isChecked()
                    
136        obj['submit_user_name_password'] = self.spiderSubmitUsernamePasswordCheckBox.isChecked()
                    
137        obj['evaluate_javascript'] = self.spiderEvaluateJavascriptCheckBox.isChecked()
                    
                
user.php git://git.savannah.nongnu.org/easymagazine.git | PHP | 398 lines
                    
42    const UPDATE_SQL_PASSWORD = 'update users set password = @?@, updated=now() where id = @#@';
                    
43    const UPDATE_SQL_USERNAME = 'update users set username = @?@, updated=now() where id = @#@';
                    
44    const DELETE_SQL = 'delete from users where id = @#@';
                    
48    const SELECT_BY_USERNAME = 'select * from users where username = @?@ LIMIT 1 ';
                    
49    const SELECT_BY_USERNAME_AND_EMAIL = 'select * from users where username = @?@ AND email = @?@ order by name ';
                    
50    const SELECT_ALL = 'select * from users order by name ';
                    
140    public static function findByUserName($username) {
                    
141        return USER::findOne(self::SELECT_BY_USERNAME, array("$username"), array());
                    
142    }
                    
148     */
                    
149    public static function findByUsernameAndEmail($username, $email) {
                    
150        return USER::findOne(self::SELECT_BY_USERNAME_AND_EMAIL, array("$username", "$email"), array());
                    
276
                    
277    public function updateUsername($NewUserName) {
                    
278        $tables = array("users" => TBPREFIX."users");
                    
                
TargetService.cs git://pkgs.fedoraproject.org/giver | C# | 376 lines
                    
106				label.Markup = string.Format ("<span weight=\"bold\" size=\"large\">{0}</span>",
                    
107                    						serviceInfo.UserName);
                    
108			vbox.PackStart(label, true, true, 0);
                    
                
test_init.py git://pkgs.fedoraproject.org/bzr | Python | 237 lines
                    
222
                    
223    def test_init_without_username(self):
                    
224        """Ensure init works if username is not set.
                    
                
OnSucMessage.cpp http://mmo-resourse.googlecode.com/svn/ | C++ | 569 lines
                    
137							pUser->AddCtrlGapp(dwGappID, dwSmID);
                    
138							ActionLogManage::GetInstance().ActionLog(dwSmID, dwGappID, UserManage::GetInstance().FindUserName(lUserID).c_str(), "user[%s] login gapp console.", pUser->GetName());
                    
139						}
                    
142							pUser->DelCtrlGapp(dwGappID);
                    
143							ActionLogManage::GetInstance().ActionLog(dwSmID, dwGappID, UserManage::GetInstance().FindUserName(lUserID).c_str(), "user[%s] login gapp console.", pUser->GetName());
                    
144						}
                    
225
                    
226						ActionLogManage::GetInstance().ActionLog(dwSmID, dwGappID, UserManage::GetInstance().FindUserName(lUserID).c_str(), "user[%s] %s GAPP[]", pUser->GetName(), pCtrl);
                    
227						return;
                    
                
UDbSaver.pas https://code.google.com/p/union-oil/ | Pascal | 489 lines
                    
101  OS := TOraSession.Create(nil);
                    
102  OS.Username := p_DBS.OraUser;
                    
103  OS.Password := p_DBS.OraPassword;
                    
                
lwp-request http://atf2flightsim.googlecode.com/svn/trunk/ | Perl | 534 lines
                    
85
                    
86=item -C <username>:<password>
                    
87
                    
89Authentication.  If the document is protected and you did not specify
                    
90the username and password with this option, then you will be prompted
                    
91to provide these values.
                    
235	    my $netloc = $uri->host_port;
                    
236	    print "Enter username for $realm at $netloc: ";
                    
237	    my $user = <STDIN>;
                    
                
ODAVConnection.h git://github.com/omnigroup/OmniGroup.git | C Header | 172 lines
                    
70@property(nonatomic,copy,nullable) NSURLCredential * _Nullable (^validateCertificateForChallenge)(NSURLAuthenticationChallenge *challenge);
                    
71// findCredentialsForChallenge: Start an operation to get a username+password for an operation, and return it. The DAV operation will be canceled, but the NSOperation will be returned in the error block for the caller to wait on if it wants. (In the future we may want the DAV operation to wait on the NSOperation automatically.)
                    
72@property(nonatomic,copy,nullable) NSOperation <OFCredentialChallengeDisposition> *(^findCredentialsForChallenge)(NSURLAuthenticationChallenge *challenge);
                    
                
SqlQueryCollectorEditEntry.cs https://quickmon.svn.codeplex.com/svn | C# | 297 lines
                    
43                chkIntegratedSec.Checked = selectedEntry.IntegratedSecurity;
                    
44                txtUserName.Text = selectedEntry.UserName;
                    
45                txtPassword.Text = selectedEntry.Password;
                    
88        {
                    
89            txtUserName.Enabled = !chkIntegratedSec.Checked;
                    
90            txtUserName.ReadOnly = chkIntegratedSec.Checked;
                    
199            selectedEntry.IntegratedSecurity = chkIntegratedSec.Checked;
                    
200            selectedEntry.UserName = txtUserName.Text;
                    
201            selectedEntry.Password = txtPassword.Text;
                    
240                testEntry.IntegratedSecurity = chkIntegratedSec.Checked;
                    
241                testEntry.UserName = txtUserName.Text;
                    
242                testEntry.Password = txtPassword.Text;
                    
                
UserProfile.aspx http://ataman.googlecode.com/svn/trunk/ | ASP.NET | 112 lines
                    
35                </div>
                    
36                <div class="userName">    
                    
37                    ???: <asp:Label  ID="Name" runat="server" Text="" />
                    
                
devise.rb http://our-news.googlecode.com/svn/trunk/ | Ruby | 195 lines
                    
18  # Configure which keys are used when authenticating a user. The default is
                    
19  # just :email. You can configure it to use [:username, :subdomain], so for
                    
20  # authenticating a user, both parameters are required. Remember that those
                    
                
socks.py http://lh-abc.googlecode.com/svn/trunk/ | Python | 403 lines
                    
107		      "all offered authentication methods were rejected",
                    
108		      "unknown username or invalid password",
                    
109		      "unknown error")
                    
117def setdefaultproxy(proxytype=None,addr=None,port=None,rdns=True,username=None,password=None):
                    
118	"""setdefaultproxy(proxytype, addr[, port[, rdns[, username[, password]]]])
                    
119	Sets a default proxy which all further socksocket objects will use,
                    
122	global _defaultproxy
                    
123	_defaultproxy = (proxytype,addr,port,rdns,username,password)
                    
124	
                    
151	
                    
152	def setproxy(self,proxytype=None,addr=None,port=None,rdns=True,username=None,password=None):
                    
153		"""setproxy(proxytype, addr[, port[, rdns[, username[, password]]]])
                    
163				Note: This has no effect with SOCKS4 servers.
                    
164		username -	Username to authenticate with to the server.
                    
165				The default is no authentication.
                    
                
class-dbfactory-php.html https://code.google.com/p/ezrpg/ | HTML | 50 lines
                    
17
                    
18<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="DbFactory.factory"></a>factory</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function factory(</td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'mysql',</td></tr><tr><td></td><td class=PParameter nowrap>$host</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'localhost',</td></tr><tr><td></td><td class=PParameter nowrap>$username</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'root',</td></tr><tr><td></td><td class=PParameter nowrap>$password</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$db</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'ezrpg'</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>A static function to return the correct database object according to the database type.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>$type</td><td class=CDLDescription>The type of database driver to use.</td></tr><tr><td class=CDLEntry>$host</td><td class=CDLDescription>The host of the database server.</td></tr><tr><td class=CDLEntry>$username</td><td class=CDLDescription>Username to login with.</td></tr><tr><td class=CDLEntry>$password</td><td class=CDLDescription>Password to login with.</td></tr><tr><td class=CDLEntry>$db</td><td class=CDLDescription>Name of the database.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new instance of the database driver class.</p><p>Throws a <a href="exception-db-php.html#DbException" class=LClass id=link3 onMouseOver="ShowTip(event, 'tt2', 'link3')" onMouseOut="HideTip('tt2')">DbException</a> on failure.</p><h4 class=CHeading>Example Usage</h4><blockquote><pre>try
                    
19{
                    
40<!--START_ND_TOOLTIPS-->
                    
41<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function factory(</td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'mysql',</td></tr><tr><td></td><td class=PParameter nowrap>$host</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'localhost',</td></tr><tr><td></td><td class=PParameter nowrap>$username</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'root',</td></tr><tr><td></td><td class=PParameter nowrap>$password</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$db</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'ezrpg'</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>A static function to return the correct database object according to the database type.</div></div><div class=CToolTip id="tt2"><div class=CClass>Extends Exception class to specify a database error.</div></div><!--END_ND_TOOLTIPS-->
                    
42
                    
                
StaticEmailAlertSender.java git://github.com/Graylog2/graylog2-server.git | Java | 261 lines
                    
106            email.setAuthenticator(new DefaultAuthenticator(
                    
107                    Strings.nullToEmpty(configuration.getUsername()),
                    
108                    Strings.nullToEmpty(configuration.getPassword())
                    
221        // Send emails to subscribed users.
                    
222        final List<String> userNames = stream.getAlertReceivers().get("users");
                    
223        if(userNames != null) {
                    
223        if(userNames != null) {
                    
224            for (String username : userNames) {
                    
225                final User user = userService.load(username);
                    
                
modFtpDaemon.tcl http://nxscripts.googlecode.com/svn/ | TCL | 541 lines
                    
20#   UserIdToName     <userId>
                    
21#   UserNameToId     <userName>
                    
22#   GroupList
                    
39    namespace export GetFlagTypes GetFtpConnection \
                    
40        UserExists UserList UserInfo UserIdToName UserNameToId \
                    
41        GroupExists GroupList GroupInfo GroupIdToName GroupNameToId
                    
196#
                    
197proc ::alcoholicz::FtpDaemon::UserExists {userName} {
                    
198    variable users
                    
229#
                    
230proc ::alcoholicz::FtpDaemon::UserInfo {userName varName} {
                    
231    variable dataPath
                    
333#
                    
334proc ::alcoholicz::FtpDaemon::UserNameToId {userName} {
                    
335    variable users
                    
                
SiteProject.scala http://scala-scales.googlecode.com/svn/trunk/ | Scala | 372 lines
                    
151  val userF = ()=>{ 
                    
152    var env = System.getenv("USERNAME")
                    
153    if (env eq null)
                    
                
UserGiftsClass.php http://semantic-social-profile.googlecode.com/svn/trunk/ | PHP | 436 lines
                    
22	 */
                    
23	/* private */ function __construct( $username ) {
                    
24		$title1 = Title::newFromDBkey( $username );
                    
414	 *
                    
415	 * @param $userName Mixed: username whose gift count we're looking up
                    
416	 * @return Integer: amount of gifts the specified user has
                    
417	 */
                    
418	static function getGiftCountByUsername( $userName ) {
                    
419		$dbr = wfGetDB( DB_SLAVE );
                    
419		$dbr = wfGetDB( DB_SLAVE );
                    
420		$userId = User::idFromName( $userName );
                    
421		$res = $dbr->select(
                    
                
ReportsEntryModelImpl.java http://nestorurquiza.googlecode.com/svn/trunk/ | Java | 322 lines
                    
94        model.setUserId(soapModel.getUserId());
                    
95        model.setUserName(soapModel.getUserName());
                    
96        model.setCreateDate(soapModel.getCreateDate());
                    
148
                    
149    public String getUserName() {
                    
150        return GetterUtil.getString(_userName);
                    
152
                    
153    public void setUserName(String userName) {
                    
154        _userName = userName;
                    
192            model.setUserId(HtmlUtil.escape(getUserId()));
                    
193            model.setUserName(HtmlUtil.escape(getUserName()));
                    
194            model.setCreateDate(getCreateDate());
                    
211        clone.setUserId(getUserId());
                    
212        clone.setUserName(getUserName());
                    
213        clone.setCreateDate(getCreateDate());
                    
                
GqAARequest.java http://mobicents.googlecode.com/svn/trunk/ | Java | 444 lines
                    
101   */
                    
102  boolean hasUserName();
                    
103
                    
108   */
                    
109  String getUserName();
                    
110
                    
114   * @throws IllegalStateException
                    
115   *           if setUserName has already been called
                    
116   */
                    
116   */
                    
117  void setUserName(String userName);
                    
118
                    
                
memberlist_view.html http://pbb-png1.googlecode.com/svn/trunk/ | HTML | 203 lines
                    
24			<tr>
                    
25				<td align="center"><!-- IF USER_COLOR --><b class="gen" style="color: {USER_COLOR}"><!-- ELSE --><b class="gen"><!-- ENDIF -->{USERNAME}</b><!-- IF U_USER_BAN --><span class="genmed"> [ <a href="{U_USER_BAN}">{L_USER_BAN}</a> ]</span><!-- ENDIF --><!-- IF U_USER_ADMIN --><span class="genmed"> [ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]</span><!-- ENDIF --></td>
                    
26			</tr>
                    
                
admin_settings.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 376 lines
                    
49$lang_module['port'] = "P?ístav";
                    
50$lang_module['username'] = "Uživatelské jméno";
                    
51$lang_module['password'] = "Heslo";
                    
60$lang_module['outgoing_port'] = "Odchozí port serveru (SMTP)";
                    
61$lang_module['smtp_username'] = "P?ihlašovací informace";
                    
62$lang_module['smtp_login'] = "Uživatelské jméno";
                    
                
Error.h http://better-oblivion-sorting-software.googlecode.com/svn/ | C++ Header | 244 lines
                    
165			case BOSS_ERROR_CURL_SET_PROXY_AUTH_FAIL:
                    
166				return "Proxy authentication username or password invalid! cURL response: \"" + errString + "\".";
                    
167			case BOSS_ERROR_CURL_SET_PROXY_AUTH_TYPE_FAIL:
                    
                
index.html http://ourproject.googlecode.com/svn/trunk/ | HTML | 453 lines
                    
17<script>
                    
18hit_check('username','1','./');
                    
19</script>
                    
26<div style="float:right; width:280px; line-height:25px;">
                    
27<div id='username'></div>
                    
28<a
                    
                
dashboard.php https://bitbucket.org/haloweb/halogy-1.0/ | PHP | 291 lines
                    
22
                    
23		<h1><strong><?php echo ($this->session->userdata('firstName')) ? ucfirst($this->session->userdata('firstName')) : $this->session->userdata('username'); ?>'s</strong> Dashboard</h1>
                    
24		
                    
                
TarEntry.cs https://SourceBackup.svn.codeplex.com/svn | C# | 571 lines
                    
265		/// </summary>
                    
266		public string UserName
                    
267		{
                    
269			{
                    
270				return this.header.UserName;
                    
271			}
                    
273			{
                    
274				this.header.UserName = value;
                    
275			}
                    
310		/// </summary>
                    
311		/// <param name="userName">
                    
312		/// This entry's new user name.
                    
318		{
                    
319			UserName = userName;
                    
320			GroupName = groupName;
                    
                
FlowEdit.aspx.cs http://opennode2.googlecode.com/svn/trunk/ | C# | 244 lines
                    
65            public bool IsNewFlow { get; set; }
                    
66            public string ContactUsername { get; set; }
                    
67        }
                    
122                    descriptionTextBox.Text = Model.DataFlow.Description;
                    
123                    contactsDropDownList.SelectedValue = Model.ContactUsername;
                    
124                    webInfoTextBox.Text = Model.DataFlow.InfoUrl;
                    
173                    {
                    
174                        Model.ContactUsername = FlowService.GetUsernameById(Model.DataFlow.ContactUserId);
                    
175                    }
                    
192            Model.DataFlow.Description = descriptionTextBox.Text.Trim();
                    
193            Model.ContactUsername = contactsDropDownList.SelectedValue;
                    
194            Model.DataFlow.InfoUrl = webInfoTextBox.Text.Trim();
                    
195            Model.DataFlow.IsProtected = protectedCheckBox.Checked;
                    
196            Model.DataFlow.ContactUserId = FlowService.GetUserIdByName(Model.ContactUsername);
                    
197            if (string.IsNullOrEmpty(Model.DataFlow.ContactUserId))
                    
                
UserCredentials.cs https://hsscore.svn.codeplex.com/svn | C# | 334 lines
                    
65		/// </summary>
                    
66		/// <param name="includeUserName">true to include username (default); false for password only.</param>
                    
67		public UserCredentials(bool includeUserName)
                    
162			this.lblUserName.Location = new System.Drawing.Point(12, 9);
                    
163			this.lblUserName.Name = "lblUserName";
                    
164			this.lblUserName.Size = new System.Drawing.Size(68, 16);
                    
171			this.txtUserName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
                    
172			this.txtUserName.Name = "txtUserName";
                    
173			this.txtUserName.Size = new System.Drawing.Size(360, 22);
                    
251			this.pnlUserName.Controls.Add(this.txtUserName);
                    
252			this.pnlUserName.Controls.Add(this.lblUserName);
                    
253			this.pnlUserName.Dock = System.Windows.Forms.DockStyle.Top;
                    
254			this.pnlUserName.Location = new System.Drawing.Point(0, 0);
                    
255			this.pnlUserName.Name = "pnlUserName";
                    
256			this.pnlUserName.Size = new System.Drawing.Size(394, 53);
                    
                
Provider.cs https://hg01.codeplex.com/pservicebus | C# | 292 lines
                    
84                var exchangeName = "ex" + queue;
                    
85                var factory = new ConnectionFactory() { HostName = uri.Host, UserName = uri.Username, Password = uri.Password, Port = uri.Port };
                    
86                return new ProviderFactory() { ConnectionFactory = factory, ExchangeName = exchangeName, Queue = queue };
                    
                
edit_category.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 251 lines
                    
104		<liferay-ui:error exception="<%= MailingListInServerNameException.class %>" message="please-enter-a-valid-incoming-server-name" />
                    
105		<liferay-ui:error exception="<%= MailingListInUserNameException.class %>" message="please-enter-a-valid-incoming-user-name" />
                    
106		<liferay-ui:error exception="<%= MailingListOutEmailAddressException.class %>" message="please-enter-a-valid-outgoing-email-address" />
                    
107		<liferay-ui:error exception="<%= MailingListOutServerNameException.class %>" message="please-enter-a-valid-outgoing-server-name" />
                    
108		<liferay-ui:error exception="<%= MailingListOutUserNameException.class %>" message="please-enter-a-valid-outgoing-user-name" />
                    
109
                    
180
                    
181						<aui:input label="user-name" name="inUserName" />
                    
182
                    
199
                    
200							<aui:input label="user-name" name="outUserName" />
                    
201
                    
                
ServerConnection.java git://pkgs.fedoraproject.org/qpid-cpp | Java | 502 lines
                    
35import org.apache.qpid.server.security.AuthorizationHolder;
                    
36import org.apache.qpid.server.security.auth.sasl.UsernamePrincipal;
                    
37import org.apache.qpid.server.stats.StatisticsCounter;
                    
376    /**
                    
377     * Sets the authorized subject.  It also extracts the UsernamePrincipal from the subject
                    
378     * and caches it for optimisation purposes.
                    
391            _authorizedSubject = authorizedSubject;
                    
392            _authorizedPrincipal = UsernamePrincipal.getUsernamePrincipalFromSubject(_authorizedSubject);
                    
393        }
                    
410
                    
411    public String getUserName()
                    
412    {
                    
                
CMISFileVersion.java git://github.com/liferay/liferay-portal.git | Java | 438 lines
                    
277	@Override
                    
278	public String getStatusByUserName() {
                    
279		return null;
                    
307	@Override
                    
308	public String getUserName() {
                    
309		return _document.getCreatedBy();
                    
403	@Override
                    
404	public void setUserName(String userName) {
                    
405	}
                    
                
external_lookup.c git://pkgs.fedoraproject.org/dspam | C | 496 lines
                    
63char*
                    
64external_lookup(config_t agent_config, const char *username, char *external_uid)
                    
65{
                    
123				    break;
                    
124				case 'u': /* paste in the username */
                    
125				    if (j+namelen>=len) {
                    
160	char		*a, *dn;
                    
161	char		*sane_username = malloc(strlen(username)*2);
                    
162	char		*p = sane_username;
                    
212	/* sanitize username for filter integration */
                    
213	for (; *username != '\0'; username++) {
                    
214		switch(*username) {
                    
231
                    
232	LOGDEBUG("External Lookup: sanitized username is %s\n", sane_username);
                    
233
                    
                
LinuxNICCollector.cs https://quickmon.svn.codeplex.com/svn | C# | 317 lines
                    
146                //entry.SSHConnection.SSHPort = pcNode.ReadXmlElementAttr("sshPort", 22);                
                    
147                //entry.SSHConnection.UserName = pcNode.ReadXmlElementAttr("userName", "");
                    
148                //entry.SSHConnection.Password = pcNode.ReadXmlElementAttr("password", "");
                    
178                //nicsNode.SetAttributeValue("sshPort", entry.SSHConnection.SSHPort);                
                    
179                //nicsNode.SetAttributeValue("userName", entry.SSHConnection.UserName);
                    
180                //nicsNode.SetAttributeValue("password", entry.SSHConnection.Password);
                    
                
ewcfg8.asp http://masjwzb.googlecode.com/svn/trunk/ | ASP | 291 lines
                    
42Dim EW_SESSION_USER_NAME
                    
43EW_SESSION_USER_NAME = EW_SESSION_STATUS & "_UserName" ' User Name
                    
44Dim EW_SESSION_USER_ID
                    
47EW_SESSION_USER_PROFILE = EW_SESSION_STATUS & "_UserProfile" ' User Profile
                    
48EW_SESSION_USER_PROFILE_USER_NAME = EW_SESSION_USER_PROFILE & "_UserName"
                    
49EW_SESSION_USER_PROFILE_PASSWORD = EW_SESSION_USER_PROFILE & "_Password"
                    
194Const EW_SMTP_SERVER_PORT = 25 ' Smtp server port
                    
195Const EW_SMTP_SERVER_USERNAME = "" ' Smtp server user name
                    
196Const EW_SMTP_SERVER_PASSWORD = "" ' Smtp server password
                    
                
mysql_class_v1_1.php http://htdocstest.googlecode.com/svn/trunk/ | PHP | 411 lines
                    
149    *  server=localhost
                    
150    *  user=Username
                    
151    *  pass=password
                    
                
sdp.c http://servetome.googlecode.com/svn/trunk/ | C | 373 lines
                    
43    int ttl;              /**< TTL, in case of multicast stream */
                    
44    const char *user;     /**< username of the session's creator */
                    
45    const char *src_addr; /**< IP address of the machine from which the session was created */
                    
                
dtest.py https://code.google.com/p/disorder/ | Python | 415 lines
                    
178stopword the a an and to too in on of we i am as im for is
                    
179username fred
                    
180password fredpass
                    
261
                    
262def create_user(username="fred", password="fredpass"):
                    
263    """create_user(USERNAME, PASSWORD)
                    
266    user rights 'all', allowing them to do anything."""
                    
267    print " creating user %s" % username
                    
268    command(["disorder",
                    
269             "--config", disorder._configfile, "--no-per-user-config",
                    
270             "--user", "root", "adduser", username, password])
                    
271    command(["disorder",
                    
272             "--config", disorder._configfile, "--no-per-user-config",
                    
273             "--user", "root", "edituser", username, "rights", "all"])
                    
274
                    
                
update.sql https://code.google.com/p/wiganwarriorscom/ | SQL | 285 lines
                    
27	PAYMENT_AMOUNT	 float,
                    
28	PAYMENT_USERNAME	text,
                    
29	PAYMENT_COMMENT 	text,
                    
                
sdp.h git://pkgs.fedoraproject.org/opal | C Header | 380 lines
                    
317    void SetUserName(const PString & v);
                    
318    PString GetUserName() const { return ownerUsername; }
                    
319
                    
361
                    
362    PString ownerUsername;
                    
363    time_t ownerSessionId;
                    
                
it.php git://git.savannah.nongnu.org/easymagazine.git | PHP | 279 lines
                    
113define('LANG_ADMIN_TABLE_TWITTER', 'Bottone Twitter');
                    
114define('LANG_ADMIN_TABLE_USERNAME', 'Nome utente');
                    
115define('LANG_ADMIN_TABLE_SHOW_IN_PEOPLE_PAGE', 'Mostra nella pagina Redazione');
                    
222define('LANG_CON_USER_SAVED', 'Dati relativi all\'utente salvati');
                    
223define('LANG_CON_USER_WITH_SAME_USERNAME', 'Il Nome Utente che hai scelto &egrave; gi&agrave; stato scelto da qualcun altro e non pu&ograve; essere utilizzato');
                    
224
                    
264define('LANG_LOGIN_NEW_PASSWORD_IS', 'la tua nuova password:');
                    
265define('LANG_LOGIN_USERNAME_PASSWORD_WRONG', 'Nome utente o password sbagliata');
                    
266define('LANG_LOGIN_TRY_AGAIN', 'Clicca qui per riprovare');
                    
                
chown.c git://github.com/apache/hadoop-common.git | C | 270 lines
                    
159      userNameLen = colonPos - ownerInfo + 1;
                    
160      userName = (LPTSTR)LocalAlloc(LPTR, userNameLen * sizeof(WCHAR));
                    
161      if (userName == NULL)
                    
165      }
                    
166      if (FAILED(StringCchCopyNW(userName, userNameLen,
                    
167        ownerInfo, userNameLen - 1)))
                    
189    userNameLen = wcslen(ownerInfo) + 1;
                    
190    userName = (LPWSTR)LocalAlloc(LPTR, userNameLen * sizeof(WCHAR));
                    
191    if (userName == NULL)
                    
195    }
                    
196    if (FAILED(StringCchCopyNW(userName, userNameLen, ownerInfo, userNameLen)))
                    
197      goto ChownEnd;
                    
201  //
                    
202  assert(userName == NULL || wcslen(userName) > 0);
                    
203  assert(groupName == NULL || wcslen(groupName) > 0);
                    
                
KaleoTaskModel.java git://github.com/liferay/liferay-portal.git | Java | 309 lines
                    
152	@Override
                    
153	public String getUserName();
                    
154
                    
157	 *
                    
158	 * @param userName the user name of this kaleo task
                    
159	 */
                    
160	@Override
                    
161	public void setUserName(String userName);
                    
162
                    
                
RemoteSdkCredentialsHolder.java git://github.com/JetBrains/intellij-community.git | Java | 246 lines
                    
195    }
                    
196    if (getUserName() != null ? !getUserName().equals(holder.getUserName()) : holder.getUserName() != null) return false;
                    
197
                    
208    result = 31 * result + getLiteralPort().hashCode();
                    
209    result = 31 * result + (getUserName() != null ? getUserName().hashCode() : 0);
                    
210    result = 31 * result + (getPassword() != null ? getPassword().hashCode() : 0);
                    
227           getLiteralPort() +
                    
228           ", getUserName()='" +
                    
229           getUserName() +
                    
                
JwaMprError.pas http://xplib.googlecode.com/svn/trunk/ | Pascal | 479 lines
                    
239(*
                    
240 * Access was denied to the remote peer  because username and/or password is invalid on the domain.%0
                    
241 *)
                    
                
SystemWebMembershipProxyProvider.cs https://screwturnmembership.svn.codeplex.com/svn | C# | 421 lines
                    
128		public UserInfo AddUser(string username, string displayName, string password, string email, bool active, DateTime created) {
                    
129			if(String.IsNullOrEmpty(username))
                    
130				throw new ArgumentNullException("username");
                    
146
                    
147			var profile = ProfileBase.Create(membershipUser.UserName);
                    
148			profile["DisplayName"] = displayName;
                    
159		public UserInfo GetUser(string username) {
                    
160			if (String.IsNullOrEmpty(username)) throw new ArgumentNullException("username");
                    
161
                    
270		public UserInfo TryManualLogin(string username, string password) {
                    
271			if (String.IsNullOrEmpty(username)) throw new ArgumentNullException("username");
                    
272			//if (String.IsNullOrEmpty(password)) throw new ArgumentNullException("password");
                    
408		private static ProfileBase GetProfile(string username) {
                    
409			if (String.IsNullOrEmpty(username)) throw new ArgumentNullException("username");
                    
410
                    
                
jDatabaseSecurityManager.cs https://jSLCore.svn.codeplex.com/svn | C# | 305 lines
                    
41
                    
42        public void ChangeCurrentUserPassword(string userName, string oldPwd, string newPwd)
                    
43        {
                    
45            {
                    
46                var user = db.Users.GetUserByLoginAndPwdOrNull(userName, oldPwd);
                    
47                if (user == null)
                    
135
                    
136        public int[] GetPermissionSet(string userName)
                    
137        {
                    
139            {
                    
140                User user = db.Users.GetOneOrNull(userName, "Login");
                    
141                if (user == null) return new int[0];
                    
154
                    
155        public bool IsUserHasPermission(string userName, int permission)
                    
156        {
                    
                
 

Source

Language