# Class RuleWithUserID

© 2019 Palo Alto Networks, Inc. All rights reserved.

Licensed under SCRIPT SOFTWARE AGREEMENT, Palo Alto Networks, Inc., at https://www.paloaltonetworks.com/legal/script-software-license-1-0.pdf

  Rule uses PathableName, centralServiceStoreUser, centralAddressStoreUser, ObjectWithDescription, XmlConvertible
  RuleWithUserID

#### Direct known subclasses

AuthenticationRule, DecryptionRule, DoSRule, PbfRule, QoSRule, SecurityRule
Located at rule-classes/RuleWithUserID.php

Methods summary
`public` | # `userID_IsAny( )`
`public` | # `userID_IsUnknown( )`
`public` | # `userID_IsKnown( )`
`public` | # `userID_IsPreLogon( )`
`public` | # `userID_IsCustom( )`
`public string` | # `userID_type( )` #### Returns `string`
`public` | # `userID_getUsers( )`
`public` | # `userID_loadUsersFromXml( )` For developers only For developers only
`public` | # `userID_setUsers( mixed $newUser )`

Methods inherited from Rule
`API_clearPolicyAppUsageDATA(), API_setDisabled(), API_setEnabled(), API_setName(), API_target_addDevice(), API_target_negateSet(), API_target_removeDevice(), API_target_setAny(), getXPath(), isAppOverrideRule(), isAuthenticationRule(), isCaptivePortalRule(), isDecryptionRule(), isDisabled(), isDoSRule(), isEnabled(), isNatRule(), isPbfRule(), isPostRule(), isPreRule(), isQoSRule(), isSecurityRule(), load_common_from_domxml(), load_destination(), load_from(), load_source(), load_to(), name(), rewriteSDisabled_XML(), ruleNature(), setDisabled(), setEnabled(), setName(), target_addDevice(), target_hasDeviceAndVsys(), target_isAny(), target_isNegated(), target_negateSet(), target_removeDevice(), target_rewriteXML(), target_setAny(), targets(), targets_toString(), uuid(), zoneCalculation(), zoneCalculationNatClone()`

Methods used from PathableName
`(), (), ()`

Methods used from centralServiceStoreUser
`()`

Methods used from centralAddressStoreUser
`()`

Methods used from ObjectWithDescription
`(), (), (), (), ()`

Methods used from XmlConvertible
`(), (), (), (), ()`

Constants summary
`integer` | `__UserIDType_Any` | `0` | #
`integer` | `__UserIDType_Unknown` | `1` | #
`integer` | `__UserIDType_Known` | `2` | #
`integer` | `__UserIDType_PreLogon` | `3` | #
`integer` | `__UserIDType_Custom` | `4` | #

Properties summary
`protected integer` | $_userIDType | ``RuleWithUserID::__UserIDType_Any`` | #
`protected string[]` | $_users | `array()` | #

Properties inherited from Rule
`$_targetIsNegated, $_targets, $destination, $disabled, $from, $name, $owner, $services, $source, $tags, $to`

Properties used from centralServiceStoreUser
`$parentServiceStore`

Properties used from centralAddressStoreUser
`$parentAddressStore`

Properties used from ObjectWithDescription
`$_description`

Properties used from XmlConvertible
`$xmlroot`

Magic properties used from PathableName
`$name, $owner`

Magic properties used from ObjectWithDescription
`$xmlroot`