_propDict)) { return $this->_propDict["ipAddress"]; } else { return null; } } /** * Sets the ipAddress * Indicates the client IP address used by user performing the activity (audit log only). * * @param string $val The value of the ipAddress * * @return UserIdentity */ public function setIpAddress($val) { $this->_propDict["ipAddress"] = $val; return $this; } /** * Gets the userPrincipalName * The userPrincipalName attribute of the user. * * @return string|null The userPrincipalName */ public function getUserPrincipalName() { if (array_key_exists("userPrincipalName", $this->_propDict)) { return $this->_propDict["userPrincipalName"]; } else { return null; } } /** * Sets the userPrincipalName * The userPrincipalName attribute of the user. * * @param string $val The value of the userPrincipalName * * @return UserIdentity */ public function setUserPrincipalName($val) { $this->_propDict["userPrincipalName"] = $val; return $this; } }