I am trying to add an 'all' user to a policy I have created using the Perl PolicyMgtAPI, but am not sure how to accomplish this.
Here is what I have:
$userDirObj = $session->GetUserDir("UserDirName");
$domainObj = $session->CreateDomain("DomainName","DomainDescription",1);
$domainObj->AddUserDir( $userDirObj );
$realmObj = $domainObj->CreateRealm("RealmName", $session->GetAgentGroup("AgentGroupName"), $session->GetAuthScheme("AuthSchemeName"), "RealmDescription", "/", 1, 1, 1, 7200, 3600, 0);
$policyObj = $domainObj->CreatePolicy("PolicyName","PolicyDescription",1);
$policyObj->AddRule( $realmObj->CreateRule("RuleName", "RuleDescription", "GET,POST", "*", 1, 0, "", 1) );
$policyObj->AddUser( HOW DO I ADD 'all' USERS );