Roles management

hi,

am work on statc roles,i want to create dynamic roles ,am using this tutriolhttp://www.yiiframework.com/wiki/65/how-to-setup-rbac-with-a-php-file/,in this i need sample code of auth.php.

please help me