ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
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 More... | |
searchRoles ($sid, $key, $combination, $role_type) | |
search for roles. More... | |
Public Member Functions inherited from ilSoapAdministration | |
__construct ($use_nusoap=true) | |
Constructor. More... | |
initErrorWriter () | |
Overwrite error handler. More... | |
__explodeSid ($sid) | |
__setMessage ($a_str) | |
__getMessage () | |
__appendMessage ($a_str) | |
__setMessageCode ($a_code) | |
__getMessageCode () | |
initAuth ($sid) | |
Init authentication. More... | |
initIlias () | |
__initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
__raiseError ($a_message, $a_code) | |
getNIC ($sid) | |
get client information from current as xml result set More... | |
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 More... | |
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 More... | |
Data Fields inherited from ilSoapAdministration | |
$sauth = null | |
$error_method = null | |
Protected Attributes inherited from ilSoapAdministration | |
$soap_check = true | |
Definition at line 35 of file class.ilSoapRBACAdministration.php.
ilSoapRBACAdministration::addRole | ( | $sid, | |
$target_id, | |||
$role_xml | |||
) |
Definition at line 332 of file class.ilSoapRBACAdministration.php.
References $GLOBALS, $target_id, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), array, ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapRBACAdministration::addRoleFromTemplate | ( | $sid, | |
$target_id, | |||
$role_xml, | |||
$template_id | |||
) |
Definition at line 387 of file class.ilSoapRBACAdministration.php.
References $GLOBALS, $target_id, $template_id, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObject\_lookupType(), array, ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapRBACAdministration::addUserRoleEntry | ( | $sid, | |
$user_id, | |||
$role_id | |||
) |
Definition at line 79 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapRBACAdministration::deleteRole | ( | $sid, | |
$role_id | |||
) |
Definition at line 37 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapRBACAdministration::deleteUserRoleEntry | ( | $sid, | |
$user_id, | |||
$role_id | |||
) |
Definition at line 116 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapRBACAdministration::getLocalRoles | ( | $sid, | |
$ref_id | |||
) |
Definition at line 257 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapRBACAdministration::getObjectTreeOperations | ( | $sid, | |
$ref_id, | |||
$user_id | |||
) |
Definition at line 464 of file class.ilSoapRBACAdministration.php.
References $data, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), array, ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapRBACAdministration::getOperations | ( | $sid | ) |
Definition at line 154 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
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 532 of file class.ilSoapRBACAdministration.php.
References $id, $ilDB, $ilUser, $query, $type, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), array, ilDBConstants\FETCHMODE_ASSOC, ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and parseUserID().
ilSoapRBACAdministration::getUserRoles | ( | $sid, | |
$user_id | |||
) |
Definition at line 297 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapRBACAdministration::grantPermissions | ( | $sid, | |
$ref_id, | |||
$role_id, | |||
$permissions | |||
) |
Definition at line 210 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
|
private |
Definition at line 711 of file class.ilSoapRBACAdministration.php.
References $id, ilUtil\__extractId(), ilSoapAdministration\__raiseError(), and ilObjUser\_lookupId().
Referenced by getRoles().
ilSoapRBACAdministration::revokePermissions | ( | $sid, | |
$ref_id, | |||
$role_id | |||
) |
Definition at line 172 of file class.ilSoapRBACAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
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 646 of file class.ilSoapRBACAdministration.php.
References $ilDB, $ilUser, $key, $res, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectSearchFactory\_getObjectSearchInstance(), array, ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), QP_COMBINATION_AND, and QP_COMBINATION_OR.