framework/web/auth/CAuthItem.php
public function assign($userId,$bizRule=null,$data=null)
	{
		return $this->_auth->assign($this->_name,$userId,$bizRule,$data);
	}
public function assign($userId,$bizRule=null,$data=null)
	{
		return $this->_auth->assign($this->_name,$userId,$bizRule,$data);
	}
public function assign ( $ userId , $ bizRule = null , $ data = null ) { return $ this -> _auth -> assign ( $ this -> _name , $ userId , $ bizRule , $ data ) ; }
Assigns this item to a user.
@param mixed $userId the user ID (see {@link IWebUser::getId})
@param string $bizRule the business rule to be executed when {@link checkAccess} is called
for this particular authorization item.
@param mixed $data additional data associated with this assignment
@return CAuthAssignment the authorization assignment information.
@throws CException if the item has already been assigned to the user
@see IAuthManager::assign
Assigns this item to a user .