HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

.NET SDK - OutboundStream.GetPeerPermission

OutboundStream.GetPeerPermission method (1 of 2)

Retrieve the (optional) override permissions for a given peer.

public InputLevel GetPeerPermission(Peer peer)
parameterdescription
peerpeer to check permissions for

Return Value

permissions

Remarks

This overrides Permissions for a specific peer. If no override is present, the value of Permissions will be returned.

See Also


OutboundStream.GetPeerPermission method (2 of 2)

Retrieve the (optional) override permissions for a given peer.

public InputLevel GetPeerPermission(PeerId id)
parameterdescription
idpeer id to check permissions for

Return Value

permissions

Remarks

This overrides Permissions for a specific peer. If no override is present, the value of Permissions will be returned.

See Also