Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetUsers (0.06 sec)

  1. cmd/iam-store.go

    				}(),
    				MemberOf: cache.iamUserGroupMemberships[k].ToSlice(),
    			}
    		}
    	}
    
    	return result, nil
    }
    
    // GetUsers - returns all users (not STS or service accounts).
    func (store *IAMStoreSys) GetUsers() map[string]madmin.UserInfo {
    	cache := store.rlock()
    	defer store.runlock()
    
    	result := map[string]madmin.UserInfo{}
    	for k, u := range cache.iamUsersMap {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    func (sys *IAMSys) ListUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetUsers(), nil
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListLDAPUsers - list LDAP users which has
    func (sys *IAMSys) ListLDAPUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    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