User Tools

Site Tools


reference:spamrules_statement_getusergroup
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
reference:spamrules_statement_getusergroup [2018/11/14 10:45] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +======Spam Filter Rules: GetUserGroup======
 +^Statement  |GetUserGroup |
 +^Version  |2.4.5+ |
 +^Purpose  |Checks if the specified user is assigned to a VPOP3 group, and returns the group name |
  
 +The **GetUserGroup** statement requires a username and variable name, in the format
 +  GetUserGroup <username> <variable name>
 +
 +If the user is not assigned to a group, an empty value will be returned.
 +
 +=====Example=====
 +The following example will return the group which the user 'postmaster' is a member of and store it in the ${pmGroup} variable.
 +<code>
 +GetUserGroup "postmaster" pmGroup
 +</code>
reference/spamrules_statement_getusergroup.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1