Class CAuthAssignment
CAuthAssignment represents an assignment of a role to a user. It includes
additional assignment information such as bizRule and data. Do
not create a CAuthAssignment instance using the 'new' operator. Instead, call
IAuthManager::assign()
.
- CComponent
- CAuthAssignment
Package: system\web\auth
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/web/auth/CAuthAssignment.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/web/auth/CAuthAssignment.php
public
|
#
__construct(
Constructor. |
public
mixed
|
|
public
string
|
|
public
string
|
|
public
|
|
public
mixed
|
|
public
|
public
mixed
|
$userId |
#
User ID (see |
public
string
|
$itemName |
#
The authorization item name. |
public
string
|
$bizRule |
#
The business rule associated with this assignment. |
public
mixed
|
$data |
#
Additional data for this assignment. |