ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilSoapRBACAdministration () | |
deleteRole ($sid, $role_id) | |
addUserRoleEntry ($sid, $user_id, $role_id) | |
deleteUserRoleEntry ($sid, $user_id, $role_id) | |
getOperations ($sid) | |
revokePermissions ($sid, $ref_id, $role_id) | |
grantPermissions ($sid, $ref_id, $role_id, $permissions) | |
getLocalRoles ($sid, $ref_id) | |
getUserRoles ($sid, $user_id) | |
addRole ($sid, $target_id, $role_xml) | |
addRoleFromTemplate ($sid, $target_id, $role_xml, $template_id) | |
getObjectTreeOperations ($sid, $ref_id, $user_id) | |
getRoles ($sid, $role_type, $id) | |
get roles for a specific type and id | |
searchRoles ($sid, $key, $combination, $role_type) | |
search for roles. | |
Public Member Functions inherited from ilSoapAdministration | |
ilSoapAdministration ($use_nusoap=true) | |
__checkSession ($sid) | |
initErrorWriter () | |
Overwrite error handler. | |
__explodeSid ($sid) | |
__setMessage ($a_str) | |
__getMessage () | |
__appendMessage ($a_str) | |
__initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
__raiseError ($a_message, $a_code) | |
getNIC ($sid) | |
get client information from current as xml result set | |
isFault ($object) | |
checkObjectAccess ($ref_id, $expected_type, $permission, $returnObject=false) | |
check access for ref id: expected type, permission, return object instance if returnobject is true | |
getInstallationInfoXML () | |
getClientInfoXML ($clientid) |
Private Member Functions | |
parseUserID ($id, $role_type) |
Additional Inherited Members | |
Static Public Member Functions inherited from ilSoapAdministration | |
static | return_bytes ($val) |
calculate bytes from K,M,G modifiers e.g: 8M = 8 * 1024 * 1024 bytes | |
Data Fields inherited from ilSoapAdministration | |
$sauth = null | |
$error_method = null |
Definition at line 35 of file class.ilSoapRBACAdministration.php.
ilSoapRBACAdministration::addRole | ( | $sid, | |
$target_id, | |||
$role_xml | |||
) |
Definition at line 349 of file class.ilSoapRBACAdministration.php.
References $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), and ilObjectFactory\getInstanceByRefId().
ilSoapRBACAdministration::addRoleFromTemplate | ( | $sid, | |
$target_id, | |||
$role_xml, | |||
$template_id | |||
) |
Definition at line 423 of file class.ilSoapRBACAdministration.php.
References $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObject\_lookupType(), and ilObjectFactory\getInstanceByRefId().
ilSoapRBACAdministration::addUserRoleEntry | ( | $sid, | |
$user_id, | |||
$role_id | |||
) |
Definition at line 85 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObjectFactory\getInstanceByObjId().
ilSoapRBACAdministration::deleteRole | ( | $sid, | |
$role_id | |||
) |
Definition at line 43 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObjectFactory\getInstanceByObjId().
ilSoapRBACAdministration::deleteUserRoleEntry | ( | $sid, | |
$user_id, | |||
$role_id | |||
) |
Definition at line 122 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObjectFactory\getInstanceByObjId().
ilSoapRBACAdministration::getLocalRoles | ( | $sid, | |
$ref_id | |||
) |
Definition at line 262 of file class.ilSoapRBACAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
ilSoapRBACAdministration::getObjectTreeOperations | ( | $sid, | |
$ref_id, | |||
$user_id | |||
) |
Definition at line 521 of file class.ilSoapRBACAdministration.php.
References $data, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
ilSoapRBACAdministration::getOperations | ( | $sid | ) |
Definition at line 158 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__checkSession(), and ilSoapAdministration\__raiseError().
ilSoapRBACAdministration::getRoles | ( | $sid, | |
$role_type, | |||
$id | |||
) |
get roles for a specific type and id
String | $sid | session id |
String | $role_type | can be empty which means "local & global", "local", "global", "user", "user_login" or "template" |
Mixed | $id | can be -1 for system role folder, can be ref id in case for role type "local/global/template", can be user id with "user" or login in case for role type "user_login" |
Definition at line 594 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), DB_FETCHMODE_ASSOC, ilObjectFactory\getInstanceByObjId(), and parseUserID().
ilSoapRBACAdministration::getUserRoles | ( | $sid, | |
$user_id | |||
) |
Definition at line 311 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), and ilObjectFactory\getInstanceByObjId().
ilSoapRBACAdministration::grantPermissions | ( | $sid, | |
$ref_id, | |||
$role_id, | |||
$permissions | |||
) |
Definition at line 215 of file class.ilSoapRBACAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
ilSoapRBACAdministration::ilSoapRBACAdministration | ( | ) |
Definition at line 37 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
|
private |
Definition at line 802 of file class.ilSoapRBACAdministration.php.
References ilUtil\__extractId(), ilSoapAdministration\__raiseError(), and ilObjUser\_lookupId().
Referenced by getRoles().
ilSoapRBACAdministration::revokePermissions | ( | $sid, | |
$ref_id, | |||
$role_id | |||
) |
Definition at line 179 of file class.ilSoapRBACAdministration.php.
References $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
ilSoapRBACAdministration::searchRoles | ( | $sid, | |
$key, | |||
$combination, | |||
$role_type | |||
) |
search for roles.
String | $sid | |
String | $searchterms | comma separated search terms |
String | $operator | must be or or and |
String | $role_type | can be empty which means "local & global", "local", "global", "user" = roles of user, "user_login" or "template" |
Definition at line 730 of file class.ilSoapRBACAdministration.php.
References $res, ilSoapAdministration\__checkSession(), ilSoapAdministration\__raiseError(), ilObjectSearchFactory\_getObjectSearchInstance(), QP_COMBINATION_AND, and QP_COMBINATION_OR.