Skip to content

QuantumGate::Access::Manager::RemovePeer

Karel Donk edited this page Dec 11, 2019 · 1 revision

Removes access settings for a peer from the instance.

Signature

Result<> RemovePeer(const PeerUUID& puuid) noexcept;

Parameters

Name Description
puuid The Universally Unique Identifier of the peer for which to remove access settings. See QuantumGate::UUID for more details.

Return values

Returns a QuantumGate::Result object equal to one of the following QuantumGate::ResultCodes:

Value Description
QuantumGate::ResultCode::Succeeded The operation succeeded.
QuantumGate::ResultCode::Failed The operation failed.
QuantumGate::ResultCode::InvalidArgument The operation failed because an invalid argument was passed through. The UUID may not be valid.
QuantumGate::ResultCode::PeerNotFound The operation failed because the peer wasn't found.
Clone this wiki locally