Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetUserInfo (0.06 sec)

  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 {
    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