Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListBucketUsers (0.11 sec)

  1. cmd/admin-handlers-users.go

    		Type: madmin.SRIAMItemIAMUser,
    		IAMUser: &madmin.SRIAMUser{
    			AccessKey:   accessKey,
    			IsDeleteReq: true,
    		},
    		UpdatedAt: UTCNow(),
    	}))
    }
    
    // ListBucketUsers - GET /minio/admin/v3/list-users?bucket={bucket}
    func (a adminAPIHandlers) ListBucketUsers(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ListUsersAdminAction)
    	if objectAPI == nil {
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if err != nil {
    		return time.Time{}, err
    	}
    
    	sys.notifyForUser(ctx, cred.AccessKey, true)
    
    	return updatedAt, nil
    }
    
    // ListBucketUsers - list all users who can access this 'bucket'
    func (sys *IAMSys) ListBucketUsers(ctx context.Context, bucket string) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	select {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top