PageRenderTime 216ms queryFilters 0ms Sphinxql 115ms app.CodeModel.GetByIds 15ms findMatchingLines 45ms GetByIds 60ms meta 0ms repositoryFilters 8ms languageFilters 19ms sourceFilters 7ms

1,878,843 results for 'username' (216 ms)

Source

Language

Repository

WebMatrix.WebData.xml https://bitbucket.org/ScottHooper_HordernIT/alcoa.csms.git | XML | 851 lines
242      <returns>true if the user account is confirmed; otherwise, false.</returns>
243      <param name="userName">The username.</param>
244      <param name="accountConfirmationToken">The account confirmation.</param>
252      <exception cref="T:System.Web.Security.MembershipCreateUserException">
253        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a user account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is longer than 128 characters.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
254      <exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
262      <exception cref="T:System.Web.Security.MembershipCreateUserException">
263        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
264    </member>
300      <exception cref="T:System.Web.Security.MembershipCreateUserException">
301        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
302    </member>
682      <exception cref="T:System.Web.Security.MembershipCreateUserException">
683        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a membership account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is too long.-or-The database operation failed.</exception>
684      <exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
WebMatrix.WebData.xml https://bitbucket.org/ScottHooper_HordernIT/alcoa.csms.git | XML | 851 lines
242      <returns>true if the user account is confirmed; otherwise, false.</returns>
243      <param name="userName">The username.</param>
244      <param name="accountConfirmationToken">The account confirmation.</param>
252      <exception cref="T:System.Web.Security.MembershipCreateUserException">
253        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a user account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is longer than 128 characters.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
254      <exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
262      <exception cref="T:System.Web.Security.MembershipCreateUserException">
263        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
264    </member>
300      <exception cref="T:System.Web.Security.MembershipCreateUserException">
301        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
302    </member>
682      <exception cref="T:System.Web.Security.MembershipCreateUserException">
683        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a membership account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is too long.-or-The database operation failed.</exception>
684      <exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
WebMatrix.WebData.xml https://bitbucket.org/ScottHooper_HordernIT/alcoa.csms.git | XML | 851 lines
242      <returns>true if the user account is confirmed; otherwise, false.</returns>
243      <param name="userName">The username.</param>
244      <param name="accountConfirmationToken">The account confirmation.</param>
252      <exception cref="T:System.Web.Security.MembershipCreateUserException">
253        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a user account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is longer than 128 characters.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
254      <exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
262      <exception cref="T:System.Web.Security.MembershipCreateUserException">
263        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
264    </member>
300      <exception cref="T:System.Web.Security.MembershipCreateUserException">
301        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
302    </member>
682      <exception cref="T:System.Web.Security.MembershipCreateUserException">
683        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a membership account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is too long.-or-The database operation failed.</exception>
684      <exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
routes.rb https://bitbucket.org/bitworkvn/cs_discourse.git | Ruby | 805 lines
369    post "#{root_path}/confirm-admin/:token" => "users#confirm_admin", constraints: { token: /[0-9a-f]+/ }
370    get "#{root_path}/:username/private-messages" => "user_actions#private_messages", constraints: { username: RouteFormat.username }
371    get "#{root_path}/:username/private-messages/:filter" => "user_actions#private_messages", constraints: { username: RouteFormat.username }
374    get "#{root_path}/:username/messages/group/:group_name" => "user_actions#private_messages", constraints: { username: RouteFormat.username, group_name: RouteFormat.username }
375    get "#{root_path}/:username/messages/group/:group_name/archive" => "user_actions#private_messages", constraints: { username: RouteFormat.username, group_name: RouteFormat.username }
376    get "#{root_path}/:username/messages/tags/:tag_id" => "user_actions#private_messages", constraints: StaffConstraint.new
395    get "#{root_path}/:username/preferences/username" => "users#preferences", constraints: { username: RouteFormat.username }
396    put "#{root_path}/:username/preferences/username" => "users#username", constraints: { username: RouteFormat.username }
397    get "#{root_path}/:username/preferences/second-factor" => "users#preferences", constraints: { username: RouteFormat.username }
424  get "user-badges/:username.json" => "user_badges#username", constraints: { username: RouteFormat.username }, defaults: { format: :json }
425  get "user-badges/:username" => "user_badges#username", constraints: { username: RouteFormat.username }
426
426
427  post "user_avatar/:username/refresh_gravatar" => "user_avatars#refresh_gravatar", constraints: { username: RouteFormat.username }
428  get "letter_avatar/:username/:size/:version.png" => "user_avatars#show_letter", format: false, constraints: { hostname: /[\w\.-]+/, size: /\d+/, username: RouteFormat.username }
session_controller_spec.rb https://bitbucket.org/bitworkvn/cs_discourse.git | Ruby | 985 lines
331        expect(sso2.name).to eq(@user.name)
332        expect(sso2.username).to eq(@user.username)
333        expect(sso2.external_id).to eq(@user.id.to_s)
376
377        @suggested_username = UserNameSuggester.suggest(@sso.username || @sso.name || @sso.email)
378        @suggested_name = User.suggest_name(@sso.name || @sso.username || @sso.email)
406        logged_on_user = Discourse.current_user_provider.new(request.env).current_user
407        expect(logged_on_user.username).to eq(@user.username)
408        expect(logged_on_user.name).to eq(@user.name)
448      expect(sso2.name).to eq(@user.name)
449      expect(sso2.username).to eq(@user.username)
450      expect(sso2.external_id).to eq(@user.id.to_s)
680      context 'login has leading and trailing space' do
681        let(:username) { " #{user.username} " }
682        let(:email) { " #{user.email} " }
users_controller_spec.rb https://bitbucket.org/bitworkvn/cs_discourse.git | Ruby | 2,495 lines
1152        put :username, params: {
1153          username: user.username, new_username: new_username
1154        }, format: :json
1177        put :username,
1178          params: { username: user.username, new_username: new_username },
1179          format: :json
1193        put :username, params: {
1194          username: user.username, new_username: new_username
1195        }, format: :json
1205        put :username, params: {
1206          username: user.username, new_username: new_username
1207        }, format: :json
1215        put :username, params: {
1216          username: user.username, new_username: new_username
1217        }, format: :json
Request.java https://bitbucket.org/mohamedmohamed1/mailserver.git | Java | 709 lines
80
81    public String createFolderReq(String userName, String folderName) {
82        req = new JSONObject();
87    }
88    public String deleteFolderReq(String userName, String folderName) {
89        req = new JSONObject();
90        req.put("reqNum", "6");
91        req.put("userName", userName);
92        req.put("folderName", folderName);
114    }
115    public String starUnstarEmailReq(String star,String userName, String folderName, String emailnum) {
116    	req = new JSONObject();
376            String fname = (String) req.get("folderName");
377            String userName = (String) req.get("userName");
378            ServerFolder server = new ServerFolder();
test_table.py https://bitbucket.org/kartik894/assignment6.git | Python | 3,068 lines
2376            )
2377            usernames = [res['username'] for res in results['results']]
2378            self.assertEqual(usernames, ['johndoe', 'jane', 'alice', 'bob'])
2530            )
2531            usernames = [res['username'] for res in results['results']]
2532            self.assertEqual(usernames, ['alice', 'bob', 'jane'])
2889            ])
2890            usernames = [res['username'] for res in results['results']]
2891            self.assertEqual(usernames, ['alice', 'bob', 'jane'])
2931            ])
2932            usernames = [res['username'] for res in results['results']]
2933            self.assertEqual(usernames, ['alice', 'bob'])
2986                ], attributes=['username', 'first_name'])
2987            usernames = [res['username'] for res in results['results']]
2988            first_names = [res['first_name'] for res in results['results']]
cognito-idp-2016-04-18.min.json https://bitbucket.org/deliverlogy/deliverology_dev.git | JSON | 3,443 lines
40          "UserPoolId",
41          "Username",
42          "GroupName"
45          "UserPoolId": {},
46          "Username": {
47            "shape": "Sd"
57          "UserPoolId",
58          "Username"
59        ],
61          "UserPoolId": {},
62          "Username": {
63            "shape": "Sd"
76          "UserPoolId",
77          "Username"
78        ],
iam-2010-05-08.min.json https://bitbucket.org/deliverlogy/deliverology_dev.git | JSON | 3,213 lines
46          "GroupName",
47          "UserName"
48        ],
50          "GroupName": {},
51          "UserName": {}
52        }
84        "required": [
85          "UserName",
86          "PolicyArn"
88        "members": {
89          "UserName": {},
90          "PolicyArn": {}
114        "members": {
115          "UserName": {}
116        }
ssl_verify.c https://bitbucket.org/oglop/tomato-arm-kille72.git | C | 1,545 lines
204    {
205        if (!username || strcmp(username, multi->locked_username))
206        {
1179        /* set username/password in private env space */
1180        setenv_str(session->opt->es, "username", (raw_username ? raw_username : up->username));
1181        setenv_str(session->opt->es, "password", up->password);
1244        /* set username/password in private env space */
1245        setenv_str(session->opt->es, "username", (raw_username ? raw_username : up->username));
1246        setenv_str(session->opt->es, "password", up->password);
1387    /* check sizing of username if it will become our common name */
1388    if ((session->opt->ssl_flags & SSLF_USERNAME_AS_COMMON_NAME) && strlen(up->username) > TLS_USERNAME_LEN)
1389    {
1389    {
1390        msg(D_TLS_ERRORS, "TLS Auth Error: --username-as-common name specified and username is longer than the maximum permitted Common Name length of %d characters", TLS_USERNAME_LEN);
1391        s1 = OPENVPN_PLUGIN_FUNC_ERROR;
UsersApi.java https://bitbucket.org/radiologics/xnat-web-old-v2.git | Java | 936 lines
90
91    public static final String QUERY_USER_PROFILES = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username ORDER BY xdat_user.xdat_user_id";
92    public static final String QUERY_CURRENT_USERS = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE (xdat_user.enabled=1 OR (max_login > (CURRENT_DATE - INTERVAL '1 year') OR (max_login IS NULL AND (xdat_user_meta_data.last_modified > (CURRENT_DATE - INTERVAL '1 year') ) ) )) ORDER BY xdat_user.xdat_user_id";
92    public static final String QUERY_CURRENT_USERS = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE (xdat_user.enabled=1 OR (max_login > (CURRENT_DATE - INTERVAL '1 year') OR (max_login IS NULL AND (xdat_user_meta_data.last_modified > (CURRENT_DATE - INTERVAL '1 year') ) ) )) ORDER BY xdat_user.xdat_user_id";
93    public static final String QUERY_USER_PROFILE  = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE xdat_user.login=:username";
94
232    @AuthDelegate(UserResourceXapiAuthorization.class)
233    public ResponseEntity<User> getUser(@ApiParam(value = "Username of the user to fetch.", required = true) @PathVariable("username") @Username final String username) {
234        try {
300    @XapiRequestMapping(value = "{username}", produces = APPLICATION_JSON_VALUE, method = PUT, restrictTo = User)
301    public ResponseEntity<User> updateUser(@ApiParam(value = "The username of the user to create or update.", required = true) @PathVariable("username") @Username final String username, @RequestBody final User model) throws NotFoundException, UserInitException {
302        final UserI user;
387    @XapiRequestMapping(value = "active/{username}", produces = APPLICATION_JSON_VALUE, method = DELETE, restrictTo = User)
388    public ResponseEntity<List<String>> invalidateUser(final HttpSession current, @ApiParam(value = "The username of the user to invalidate.", required = true) @PathVariable("username") @Username final String username) {
389        final UserI  user;
DefaultGroupsAndPermissionsCache.java https://bitbucket.org/radiologics/xnat-web-old-v2.git | Java | 2,002 lines
216
217        final String username = user.getUsername();
218        final String cacheId  = getCacheIdForUserElements(username, BROWSEABLE);
454    public void refreshGroupsForUser(final String username) throws UserNotFoundException {
455        initUserGroupIds(getCacheIdForUserGroups(username), username);
456    }
506        try {
507            @SuppressWarnings("unchecked") final List<String> cacheIds = new ArrayList<>(buildImmutableSet(getGroupIdsForUser(username), getCacheIdsForUsername(username)));
508            if (cacheIds.isEmpty()) {
1639    private boolean isGuest(final String username) {
1640        return _guest != null ? StringUtils.equalsIgnoreCase(_guest.getUsername(), username) : StringUtils.equalsIgnoreCase(GUEST_USERNAME, username);
1641    }
1679
1680    private List<String> getCacheIdsForUsername(final String username) {
1681        return Lists.newArrayList(Iterables.filter(Iterables.filter(getEhCache().getKeys(), String.class), new Predicate<String>() {
usersGroups.js https://bitbucket.org/radiologics/xnat-web-old-v2.git | JavaScript | 1,796 lines
67            param = param || username || '';
68            username = (username||'') === param ? user : username;
69            return setUrl(username, path, param)
532    function userStatusInfo(type, off){
533        var username = escapeHtml(this.username || '');
534        var status = realValue(this[type]);
552        activeUsers = XNAT.data['/xapi/users/active'];
553        if (username && activeUsers && activeUsers[username] && activeUsers[username].sessions.length) {
554            sessionCount = activeUsers[username].sessions.length
625    function updateUserData(username, delay){
626        var USERNAME = typeof username === 'string' ? username : this.title.split(':')[0];
627        var USER_URL = USERNAME === 'profiles' ? '/xapi/users/profiles' : '/xapi/users/profile/' + USERNAME;
736
737        var usernameEsc = data.username = escapeHtml(data.username || '');
738
winbindd_cred_cache.c https://bitbucket.org/oglop/tomato-arm-kille72.git | C | 1,065 lines
66	for (entry = ccache_list; entry; entry = entry->next) {
67		if (strequal(entry->username, username)) {
68			return entry;
540	/* Reference count old entries */
541	entry = get_ccache_by_username(username);
542	if (entry) {
943	}
944	memcredp->username = talloc_strdup(memcredp, username);
945	if (!memcredp->username) {
977{
978	struct WINBINDD_CCACHE_ENTRY *entry = get_ccache_by_username(username);
979	NTSTATUS status;
1007	memcredp = find_memory_creds_by_name(username);
1008	entry = get_ccache_by_username(username);
1009
WebMatrix.WebData.xml https://bitbucket.org/MichaelDuren/tcsg.git | XML | 851 lines
242      <returns>true if the user account is confirmed; otherwise, false.</returns>
243      <param name="userName">The username.</param>
244      <param name="accountConfirmationToken">The account confirmation.</param>
252      <exception cref="T:System.Web.Security.MembershipCreateUserException">
253        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a user account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is longer than 128 characters.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
254      <exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
262      <exception cref="T:System.Web.Security.MembershipCreateUserException">
263        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
264    </member>
300      <exception cref="T:System.Web.Security.MembershipCreateUserException">
301        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
302    </member>
682      <exception cref="T:System.Web.Security.MembershipCreateUserException">
683        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a membership account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is too long.-or-The database operation failed.</exception>
684      <exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
WebMatrix.WebData.xml https://bitbucket.org/MichaelDuren/tcsg.git | XML | 791 lines
20      <returns>true if the account is confirmed; otherwise, false.</returns>
21      <param name="userName">The user name.</param>
22      <param name="accountConfirmationToken">A confirmation token to pass to the authentication provider.</param>
226      <exception cref="T:System.Web.Security.MembershipCreateUserException">
227        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a user account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is longer than 128 characters.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
228      <exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
236      <exception cref="T:System.Web.Security.MembershipCreateUserException">
237        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
238    </member>
274      <exception cref="T:System.Web.Security.MembershipCreateUserException">
275        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
276    </member>
624      <exception cref="T:System.Web.Security.MembershipCreateUserException">
625        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a membership account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is too long.-or-The database operation failed.</exception>
626      <exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
_profile.cshtml https://bitbucket.org/imperoitproject3/stylaaa2.0.git | Razor | 1,111 lines
96                                    {
97                                        <li id="setting"><a href="@Url.RouteUrl("Stylist", new { username = userdetail.UserName, action = "MyReview" })" title="@Resource.myReview">@Resource.myReview</a></li>
98                                        <li><a href="@Url.RouteUrl("StylistChangePassword", new { username = userdetail.UserName, action = "UserEditPassword" })" title="@Resource.Settings">@Resource.Settings</a></li>
204                                <h4>@(userdetail.Name != null ? userdetail.Name : string.Empty)</h4>
205                                <a class="pf-link" href="#" title="@userdetail.UserName">@(userdetail.UserName != null ? userdetail.UserName : string.Empty)</a>
206                            </div>
700                var strUserName = $("#UserName").val();
701                if (strUserName != null && strUserName != undefined && strUserName != '') {
702                    var url = window.location.pathname;
717            var strUserName = $(this).val();
718            if (strUserName == null || strUserName == undefined || strUserName == "") {
719                $(".stylist_username").focus();
754             var strUserName = $(this).val();
755             if (strUserName == null || strUserName == undefined || strUserName == "") {
756                 $(".user_username").focus();
UsersApi.java https://bitbucket.org/mflorida/xnat-web-1.7-auth-perf-scratch.git | Java | 929 lines
84
85    public static final String QUERY_USER_PROFILES = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username ORDER BY xdat_user.xdat_user_id";
86    public static final String QUERY_CURRENT_USERS = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE (xdat_user.enabled=1 OR (max_login > (CURRENT_DATE - INTERVAL '1 year') OR (max_login IS NULL AND (xdat_user_meta_data.last_modified > (CURRENT_DATE - INTERVAL '1 year') ) ) )) ORDER BY xdat_user.xdat_user_id";
86    public static final String QUERY_CURRENT_USERS = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE (xdat_user.enabled=1 OR (max_login > (CURRENT_DATE - INTERVAL '1 year') OR (max_login IS NULL AND (xdat_user_meta_data.last_modified > (CURRENT_DATE - INTERVAL '1 year') ) ) )) ORDER BY xdat_user.xdat_user_id";
87    public static final String QUERY_USER_PROFILE  = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE xdat_user.login=:username";
88
235    @AuthDelegate(UserResourceXapiAuthorization.class)
236    public ResponseEntity<User> getUser(@ApiParam(value = "Username of the user to fetch.", required = true) @PathVariable("username") @Username final String username) {
237        try {
306    @XapiRequestMapping(value = "{username}", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.PUT, restrictTo = User)
307    public ResponseEntity<User> updateUser(@ApiParam(value = "The username of the user to create or update.", required = true) @PathVariable("username") @Username final String username, @RequestBody final User model) throws NotFoundException, PasswordComplexityException, UserInitException {
308        final UserI user;
395    @XapiRequestMapping(value = "active/{username}", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.DELETE, restrictTo = User)
396    public ResponseEntity<List<String>> invalidateUser(final HttpSession current, @ApiParam(value = "The username of the user to invalidate.", required = true) @PathVariable("username") @Username final String username) throws NotFoundException {
397        final UserI  user;
usersGroups.js https://bitbucket.org/mflorida/xnat-web-1.7-auth-perf-scratch.git | JavaScript | 1,583 lines
65            param = param || username || '';
66            username = (username||'') === param ? user : username;
67            return setUrl(username, path, param)
207        var $form = $$(form);
208        var username = $form.find('input#username').val();
209        opts = cloneObject(opts);
534        activeUsers = XNAT.data['/xapi/users/active'];
535        if (username && activeUsers && activeUsers[username] && activeUsers[username].sessions.length) {
536            sessionCount = activeUsers[username].sessions.length
610    function updateUserData(username, delay){
611        var USERNAME = typeof username === 'string' ? username : this.title.split(':')[0];
612        var USER_URL = USERNAME === 'profiles' ? '/xapi/users/profiles' : '/xapi/users/profile/' + USERNAME;
1322                            //console.log(tr);
1323                            // var _username = truncateText(username);
1324                            return spawn('a.username.link.truncate.edit-user', {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21