[#CNode-HasPermission] = xref:CNode.adoc[CNode]::HasPermission :relfileprefix: ../ :mrdocs: Return whether this peer has been granted the given permission flag. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool HasPermission(xref:NetPermissionFlags.adoc[NetPermissionFlags] permission) const; ---- == Return Value true if the peer holds that permission. == Parameters [cols="1,4"] |=== | Name| Description | *permission* | the permission flag to test for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#