diff options
Diffstat (limited to 'docs/man/polkit.xml')
-rw-r--r-- | docs/man/polkit.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/man/polkit.xml b/docs/man/polkit.xml index 4fbc117..ee658c5 100644 --- a/docs/man/polkit.xml +++ b/docs/man/polkit.xml @@ -652,6 +652,21 @@ System Context | | </funcprototype> </funcsynopsis> + <funcsynopsis> + <funcprototype> + <?dbhtml funcsynopsis-style='ansi'?> + <funcdef>boolean <function>isInNetGroup</function></funcdef> + <paramdef>string <parameter>netGroupName</parameter></paramdef> + </funcprototype> + </funcsynopsis> + + <para> + The <function>isInGroup()</function> method can be used to + check if the subject is in a given group and + <function>isInNetGroup()</function> can be used to check if + the subject is in a given netgroup. + </para> + </refsect2> <refsect2 id="polkit-rules-details"> |