Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ListLDAPUsers (0.05 sec)

  1. cmd/admin-handlers-idp-ldap.go

    		selfDN := cred.AccessKey
    		if cred.ParentUser != "" {
    			selfDN = cred.ParentUser
    		}
    		dnList = append(dnList, selfDN)
    	}
    
    	var ldapUserList []string
    	if isAll {
    		ldapUsers, err := globalIAMSys.ListLDAPUsers(ctx)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		for user := range ldapUsers {
    			ldapUserList = append(ldapUserList, user)
    		}
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top