Sql In Yii

i would like to ask if what is the equivalent of this sql in yii?

INSERT INTO db_bais.authassignment (itemname, userid, bizrule, data) VALUES (‘admin’, ‘27’, NULL, NULL); thank you;

It looks like you should be using CDbAuthManager::assign(). You can access it using Yii::app()->authManager->assign(), assuming you’ve configured the authManager component correctly.

Thank you :)) it works