Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DeleteUser (0.19 sec)

  1. cmd/peer-rest-client.go

    		peerRESTUserOrGroup: userOrGroup,
    		peerRESTUserType:    strconv.Itoa(int(userType)),
    		peerRESTIsGroup:     strconv.FormatBool(isGroup),
    	}))
    	return err
    }
    
    // DeleteUser - delete a specific user.
    func (client *peerRESTClient) DeleteUser(ctx context.Context, accessKey string) (err error) {
    	_, err = deleteUserRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUser: accessKey,
    	}))
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/notification.go

    				return errPeerNotReachable
    			}
    			return client.LoadPolicyMapping(ctx, userOrGroup, userType, isGroup)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // DeleteUser - deletes a specific user across all peers
    func (sys *NotificationSys) DeleteUser(ctx context.Context, accessKey string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top