[#CNode-HasPermission]
= xref:CNode.adoc[CNode]::HasPermission
:relfileprefix: ../
:mrdocs:

Return whether this peer has been granted the given permission flag&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
HasPermission(xref:NetPermissionFlags.adoc[NetPermissionFlags] permission) const;
----

== Return Value

true if the peer holds that permission&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *permission*
| the permission flag to test for&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
