Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/iam-store.go

    	cache.iamSTSAccountsMap[accessKey] = u
    	cache.updatedAt = time.Now()
    
    	return u.UpdatedAt, nil
    }
    
    // DeleteUsers - given a set of users or access keys, deletes them along with
    // any derived credentials (STS or service accounts) and any associated policy
    // mappings.
    func (store *IAMStoreSys) DeleteUsers(ctx context.Context, users []string) error {
    	cache := store.lock()
    	defer store.unlock()
    
    	var deleted bool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. cmd/iam.go

    		// If user is set to "disabled", we will remove them
    		// subsequently.
    		if !u.Enabled {
    			expiredUsers = append(expiredUsers, parentUser)
    		}
    	}
    
    	// We ignore any errors
    	_ = sys.store.DeleteUsers(ctx, expiredUsers)
    }
    
    // purgeExpiredCredentialsForLDAP - validates if local credentials are still
    // valid by checking LDAP server if the relevant users are still present.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top