Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getUserInfo (0.14 seconds)

  1. cmd/iam.go

    		return false, "", errNoSuchUser
    	}
    	cred := u.Credentials
    	if cred.IsServiceAccount() {
    		return true, cred.ParentUser, nil
    	}
    
    	return false, "", nil
    }
    
    // GetUserInfo - get info on a user.
    func (sys *IAMSys) GetUserInfo(ctx context.Context, name string) (u madmin.UserInfo, err error) {
    	if !sys.Initialized() {
    		return u, errServerNotInitialized
    	}
    
    	loadUserCalled := false
    	select {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  2. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    // GetUserInfo - GET /minio/admin/v3/user-info
    func (a adminAPIHandlers) GetUserInfo(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	name := vars["accessKey"]
    
    	// Get current object layer instance.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  3. cmd/iam-store.go

    		return true
    	})
    	cache.iamSTSPolicyMap.Range(func(k string, v MappedPolicy) bool {
    		result[k] = v.Policies
    		return true
    	})
    	return result
    }
    
    // GetUserInfo - get info on a user.
    func (store *IAMStoreSys) GetUserInfo(name string) (u madmin.UserInfo, err error) {
    	if name == "" {
    		return u, errInvalidArgument
    	}
    
    	cache := store.rlock()
    	defer store.runlock()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  4. cmd/admin-handlers-users_test.go

    		SecretKey: randPass,
    	}
    }
    
    func (c *check) mustGetIAMUserInfo(ctx context.Context, admClnt *madmin.AdminClient, accessKey string) madmin.UserInfo {
    	c.Helper()
    	ui, err := admClnt.GetUserInfo(ctx, accessKey)
    	if err != nil {
    		c.Fatalf("should be able to get user info: %v", err)
    	}
    	return ui
    }
    
    func (c *check) mustNotCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
Back to Top