ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
User class. More...
Public Member Functions | |
__construct (int $a_user_id=0, bool $a_call_by_reference=false) | |
read () | |
getPasswordEncodingType () | |
setPasswordEncodingType (?string $password_encryption_type) | |
getPasswordSalt () | |
setPasswordSalt (?string $password_salt) | |
assignData (array $a_data) | |
loads a record 'user' from array More... | |
saveAsNew () | |
update () | |
writeAccepted () | |
write accept date of user agreement More... | |
refreshLogin () | |
updates the login data of a 'user' More... | |
resetPassword (string $raw, string $raw_retype) | |
Resets the user password. More... | |
updateLogin (string $a_login) | |
update login name More... | |
writePref (string $a_keyword, string $a_value) | |
deletePref (string $a_keyword) | |
writePrefs () | |
getTimeZone () | |
getTimeFormat () | |
getDateFormat () | |
getDateTimeFormat () | |
setPref (string $a_keyword, ?string $a_value) | |
getPref (string $a_keyword) | |
existsPref (string $a_keyword) | |
readPrefs () | |
delete () | |
setFullname () | |
builds a string with title + firstname + lastname method is used to build fullname in member variable $this->fullname. More... | |
getFullname (int $a_max_strlen=0) | |
setLogin (string $a_str) | |
getLogin () | |
setPasswd (string $a_str, string $a_type=ilObjUser::PASSWD_PLAIN) | |
getPasswd () | |
getPasswdType () | |
setGender (string $a_str) | |
getGender () | |
setUTitle (string $a_str) | |
set user title (note: don't mix up this method with setTitle() that is derived from ilObject and sets the user object's title) More... | |
getUTitle () | |
setFirstname (string $a_str) | |
getFirstname () | |
setLastname (string $a_str) | |
getLastname () | |
setInstitution (string $a_str) | |
getInstitution () | |
setDepartment (string $a_str) | |
getDepartment () | |
setStreet (string $a_str) | |
getStreet () | |
setCity (string $a_str) | |
getCity () | |
setZipcode (string $a_str) | |
getZipcode () | |
setCountry (string $a_str) | |
getCountry () | |
setSelectedCountry (string $a_val) | |
Set selected country (selection drop down) More... | |
getSelectedCountry () | |
Get selected country (selection drop down) More... | |
setPhoneOffice (string $a_str) | |
getPhoneOffice () | |
setPhoneHome (string $a_str) | |
getPhoneHome () | |
setPhoneMobile (string $a_str) | |
getPhoneMobile () | |
setFax (string $a_str) | |
getFax () | |
setClientIP (string $a_str) | |
getClientIP () | |
setMatriculation (string $a_str) | |
getMatriculation () | |
setEmail (string $a_str) | |
getEmail () | |
getSecondEmail () | |
setSecondEmail (?string $second_email) | |
setHobby (string $a_str) | |
getHobby () | |
setLanguage (string $a_str) | |
getLanguage () | |
setLastPasswordChangeTS (int $a_last_password_change_ts) | |
getLastPasswordChangeTS () | |
getPasswordPolicyResetStatus () | |
setPasswordPolicyResetStatus (bool $status) | |
getCurrentLanguage () | |
returns the current language (may differ from user's pref setting!) More... | |
setCurrentLanguage (string $a_val) | |
Set current language. More... | |
setLastLogin (string $a_str) | |
getLastLogin () | |
setFirstLogin (string $a_str) | |
getFirstLogin () | |
setLastProfilePrompt (string $a_str) | |
getLastProfilePrompt () | |
setLastUpdate (string $a_str) | |
getLastUpdate () | |
setComment (string $a_str) | |
getComment () | |
setApproveDate (?string $a_str) | |
set date the user account was activated null indicates that the user has not yet been activated More... | |
getApproveDate () | |
getAgreeDate () | |
setAgreeDate (?string $a_str) | |
setActive (bool $a_active, int $a_owner=0) | |
set user active state and updates system fields appropriately More... | |
getActive () | |
syncActive () | |
synchronizes current and stored user active values for the owner value to be set correctly, this function should only be called when an admin is approving a user account More... | |
getStoredActive (int $a_id) | |
get user active state More... | |
setSkin (string $a_str) | |
setTimeLimitOwner (int $a_owner) | |
getTimeLimitOwner () | |
setTimeLimitFrom (?int $a_from) | |
getTimeLimitFrom () | |
setTimeLimitUntil (?int $a_until) | |
getTimeLimitUntil () | |
setTimeLimitUnlimited (bool $a_unlimited) | |
getTimeLimitUnlimited () | |
setTimeLimitMessage (string $a_time_limit_message) | |
getTimeLimitMessage () | |
setLoginAttempts (int $a_login_attempts) | |
getLoginAttempts () | |
checkTimeLimit () | |
setProfileIncomplete (bool $a_prof_inc) | |
getProfileIncomplete () | |
isPasswordChangeDemanded () | |
isPasswordExpired () | |
getPasswordAge () | |
setLastPasswordChangeToNow () | |
resetLastPasswordChange () | |
setLatitude (?string $a_latitude) | |
getLatitude () | |
setLongitude (?string $a_longitude) | |
getLongitude () | |
setLocationZoom (?int $a_locationzoom) | |
getLocationZoom () | |
getAvatarRid () | |
setAvatarRid (?string $avatar_rid) | |
checkUserId () | |
check user id with login name More... | |
isCurrentUserActive () | |
getLoginByUserId (int $a_userid) | |
addObjectToClipboard (int $a_item_id, string $a_type, string $a_title, int $a_parent=0, string $a_time='', int $a_order_nr=0) | |
add an item to user's personal clipboard More... | |
addToPCClipboard (string $a_content, string $a_time, int $a_nr) | |
Add a page content item to PC clipboard (should go to another class) More... | |
getPCClipboardContent () | |
Add a page content item to PC clipboard (should go to another class) More... | |
clipboardHasObjectsOfType (string $a_type) | |
Check whether clipboard has objects of a certain type. More... | |
clipboardDeleteObjectsOfType (string $a_type) | |
clipboardDeleteAll () | |
getClipboardObjects (string $a_type='', bool $a_top_nodes_only=false) | |
get all clipboard objects of user and specified type More... | |
getClipboardChilds (int $a_parent, string $a_insert_time) | |
Get children of an item. More... | |
removeObjectFromClipboard (int $a_item_id, string $a_type) | |
getOrgUnitsRepresentation () | |
setAuthMode (?string $a_str) | |
getAuthMode (bool $a_auth_key=false) | |
setExternalAccount (string $a_str) | |
getExternalAccount () | |
getPersonalPicturePath (string $a_size='small', bool $a_force_pic=false) | |
hasProfilePicture () | |
getAvatar () | |
removeUserPicture (bool $a_do_update=true) | |
setUserDefinedData (array $a_data) | |
getUserDefinedData () | |
updateUserDefinedFields () | |
readUserDefinedFields () | |
deleteUserDefinedFieldEntries () | |
hasPublicProfile () | |
returns true if public is profile, false otherwise More... | |
getPublicName () | |
returns firstname lastname and login if profile is public, login otherwise More... | |
setBirthday (?string $a_birthday) | |
getBirthday () | |
resetOwner () | |
getPersonalDataExportFile () | |
sendPersonalDataFile () | |
importPersonalData (array $a_file, bool $a_profile_data, bool $a_settings, bool $a_notes, bool $a_calendar) | |
setInactivationDate (?string $inactivation_date) | |
getInactivationDate () | |
isAnonymous () | |
activateDeletionFlag () | |
removeDeletionFlag () | |
hasDeletionFlag () | |
setIsSelfRegistered (bool $status) | |
isSelfRegistered () | |
setGeneralInterests (?array $value=null) | |
getGeneralInterests () | |
getGeneralInterestsAsText () | |
Get general interests as plain text. More... | |
setOfferingHelp (?array $value=null) | |
getOfferingHelp () | |
getOfferingHelpAsText () | |
Get help offering as plain text. More... | |
setLookingForHelp (?array $value=null) | |
getLookingForHelp () | |
getLookingForHelpAsText () | |
Get help looking for as plain text. More... | |
updateMultiTextFields (bool $a_create=false) | |
![]() | |
getObjectProperties () | |
flushObjectProperties () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
processAutoRating () | |
read () | |
getId () | |
setId (int $id) | |
setRefId (int $ref_id) | |
getRefId () | |
getType () | |
setType (string $type) | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
getUntranslatedTitle () | |
Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
setTitle (string $title) | |
getDescription () | |
setDescription (string $description) | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
setImportId (string $import_id) | |
setOfflineStatus (bool $status) | |
getOfflineStatus () | |
supportsOfflineHandling () | |
getOwner () | |
getOwnerName () | |
get full name of object owner More... | |
setOwner (int $usr_id) | |
getCreateDate () | |
Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
getLastUpdateDate () | |
Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
create () | |
note: title, description and type should be set when this function is called More... | |
update () | |
MDUpdateListener (string $element) | |
Metadata update listener. More... | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
update owner of object in db More... | |
putInTree (int $parent_ref_id) | |
maybe this method should be in tree object!? More... | |
setPermissions (int $parent_ref_id) | |
setParentRolePermissions (int $parent_ref_id) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
applyDidacticTemplate (int $tpl_id) | |
getXMLZip () | |
getHTMLDirectory () | |
appendCopyInfo (int $target_id, int $copy_id, int $new_obj_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies (int $target_id, int $copy_id) | |
Clone object dependencies. More... | |
cloneMetaData (ilObject $target_obj) | |
Copy meta data. More... | |
selfOrParentWithRatingEnabled () | |
getPossibleSubObjects (bool $filter=true) | |
get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
static | _lookupFullname (int $a_user_id) |
static | _lookupEmail (int $a_user_id) |
static | _lookupGender (int $a_user_id) |
static | _lookupClientIP (int $a_user_id) |
static | _lookupName (int $a_user_id) |
lookup user name More... | |
static | _lookupFields (int $a_user_id) |
lookup fields (deprecated; use more specific methods instead) More... | |
static | _lookupLogin (int $a_user_id) |
static | _lookupExternalAccount (int $a_user_id) |
static | _lookupId ($a_user_str) |
static | _lookupLastLogin (int $a_user_id) |
static | _lookupFirstLogin (int $a_user_id) |
static | _doesLoginnameExistInHistory (string $a_login) |
Checks whether the passed loginname already exists in history. More... | |
static | _getLastHistoryDataByUserId (int $a_usr_id) |
Returns the last used loginname and the changedate of the passed user_id. More... | |
static | _deletePref (int $a_user_id, string $a_keyword) |
static | _deleteAllPref (int $a_user_id) |
Deletes a userpref value of the user from the database. More... | |
static | _writePref (int $a_usr_id, string $a_keyword, string $a_value) |
static | _lookupPref (int $a_usr_id, string $a_keyword) |
static | lookupMatriculation (int $a_usr_id) |
static | _lookupLanguage (int $a_usr_id) |
static | _writeExternalAccount (int $a_usr_id, string $a_ext_id) |
static | _writeAuthMode (int $a_usr_id, string $a_auth_mode) |
static | _lookupActive (int $a_usr_id) |
static | hasActiveSession (int $a_user_id, string $a_session_id) |
static | toUsernameWithoutDomain (string $a_login) |
Static function removes Microsoft domain name from username webdav related. More... | |
static | getUserIdByLogin (string $a_login) |
static | getUserIdsByEmail (string $a_email) |
static | getUserLoginsByEmail (string $a_email) |
static | _readUsersProfileData (array $a_user_ids) |
static | _getAllUserData (?array $a_fields=null, int $active=-1) |
static | _getNumberOfUsersForStyle (string $a_skin, string $a_style) |
static | _getAllUserAssignedStyles () |
static | _moveUsersToStyle (string $a_from_skin, string $a_from_style, string $a_to_skin, string $a_to_style) |
static | _getUsersForClipboadObject (string $a_type, int $a_id) |
get all users, that have a certain object within their clipboard More... | |
static | _getImportedUserId (string $i2_id) |
static | lookupOrgUnitsRepresentation (int $a_usr_id) |
lookup org unit representation More... | |
static | _getExternalAccountsByAuthMode (string $a_auth_mode, bool $a_read_auth_default=false) |
Get list of external account by authentication method Note: If login == ext_account for two user with auth_mode 'default' and auth_mode 'ldap' The ldap auth mode chosen. More... | |
static | _toggleActiveStatusOfUsers (array $a_usr_ids, bool $a_status) |
static | _lookupAuthMode (int $a_usr_id) |
static | _checkExternalAuthAccount (string $a_auth, string $a_account, bool $tryFallback=true) |
check whether external account and authentication method matches with a user More... | |
static | _getNumberOfUsersPerAuthMode () |
get number of users per auth mode More... | |
static | _getLocalAccountsForEmail (string $a_email) |
static | _uploadPersonalPicture (string $tmp_file, int $obj_id) |
Create a personal picture image file from a temporary image file. More... | |
static | _getAvatar (int $a_usr_id) |
static | _getPersonalPicturePath (int $a_usr_id, string $a_size='small', bool $a_force_pic=false, bool $a_prevent_no_photo_image=false, bool $html_export=false) |
static | copyProfilePicturesToDirectory (int $a_user_id, string $a_dir) |
static | _lookupFeedHash (int $user_id, bool $create=false) |
Lookup news feed hash for user. More... | |
static | _getFeedPass (int $a_user_id) |
Lookup news feed password for user. More... | |
static | _setFeedPass (int $a_user_id, string $a_password) |
Set news feed password for user. More... | |
static | _loginExists (string $a_login, int $a_user_id=0) |
check if a login name already exists You may exclude a user from the check by giving his user id as 2nd paramter More... | |
static | _externalAccountExists (string $a_external_account, string $a_auth_mode) |
Check if an external account name already exists. More... | |
static | _getUsersForRole (int $role_id, int $active=-1) |
return array of complete users which belong to a specific role More... | |
static | _getUsersForFolder (int $ref_id, int $active) |
get users for a category or from system folder More... | |
static | _getUsersForGroup (array $a_mem_ids, int $active=-1) |
return user data for group members More... | |
static | _getUsersForIds (array $a_mem_ids, int $active=-1, int $timelimitowner=-1) |
return user data for given user id More... | |
static | _getUserData (array $a_internalids) |
return user data for given user ids More... | |
static | _getPreferences (int $user_id) |
get preferences for user More... | |
static | getUserSubsetByPreferenceValue (array $a_user_ids, string $a_keyword, string $a_val) |
For a given set of user IDs return a subset that has a given user preference set. More... | |
static | _getLoginAttempts (int $a_usr_id) |
static | _incrementLoginAttempts (int $a_usr_id) |
static | _setUserInactive (int $a_usr_id) |
static | _writeHistory (int $a_usr_id, string $a_login) |
static | _getUsersOnline (int $a_user_id=0, bool $a_no_anonymous=false) |
reads all active sessions from db and returns users that are online OR returns only one active user if a user_id is given More... | |
static | _generateRegistrationHash (int $a_usr_id) |
Generates a unique hashcode for activating a user profile after registration. More... | |
static | _verifyRegistrationHash (string $a_hash) |
Verifies a registration hash. More... | |
static | getUserIdsByInactivityPeriod (int $periodInDays) |
Get ids of all users that have been inactive for at least the given period. More... | |
static | getUserIdsNeverLoggedIn (int $thresholdInDays) |
Get ids of all users that have never logged in. More... | |
static | _getUserIdsByInactivationPeriod (int $period) |
get ids of all users that have been inactivated since at least the given period More... | |
static | getFirstLettersOfLastnames (?array $user_ids=null) |
Get first letters of all lastnames. More... | |
static | userExists (array $a_usr_ids=[]) |
static | _isAnonymous (int $usr_id) |
static | findInterests (string $a_term, ?int $a_user_id=null, ?string $a_field_id=null) |
static | getProfileStatusOfUsers (array $a_user_ids) |
Get profile status. More... | |
![]() | |
static | _lookupObjIdByImportId (string $import_id) |
Get (latest) object id for an import id. More... | |
static | _lookupImportId (int $obj_id) |
static | _lookupOwnerName (int $owner_id) |
Lookup owner name for owner id. More... | |
static | _getIdForImportId (string $import_id) |
static | _getAllReferences (int $id) |
get all reference ids for object ID More... | |
static | _lookupTitle (int $obj_id) |
static | lookupOfflineStatus (int $obj_id) |
Lookup offline status using objectDataCache. More... | |
static | _lookupOwner (int $obj_id) |
Lookup owner user ID for object ID. More... | |
static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
static | _lookupDescription (int $obj_id) |
static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
static | _getLastUpdateOfObjects (array $obj_ids) |
static | _lookupObjId (int $ref_id) |
static | _setDeletedDate (int $ref_id, int $deleted_by) |
static | setDeletedDates (array $ref_ids, int $user_id) |
static | _resetDeletedDate (int $ref_id) |
static | _lookupDeletedDate (int $ref_id) |
static | _writeTitle (int $obj_id, string $title) |
write title to db (static) More... | |
static | _writeDescription (int $obj_id, string $desc) |
write description to db (static) More... | |
static | _writeImportId (int $obj_id, string $import_id) |
write import id to db (static) More... | |
static | _lookupType (int $id, bool $reference=false) |
static | _isInTrash (int $ref_id) |
static | _hasUntrashedReference (int $obj_id) |
checks whether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId (int $ref_id) |
static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
get all objects of a certain type More... | |
static | _exists (int $id, bool $reference=false, ?string $type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType (string $obj_type="", ?int $owner=null) |
static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
Prepare copy wizard object selection. More... | |
static | getIconForType (string $type) |
static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies (int $obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $obj_ids) |
static | getAllOwnedRepositoryObjects (int $user_id) |
static | fixMissingTitles ($type, array &$obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate (int $obj_id) |
static | _getObjectTypeIdByTitle (string $type, ?\ilDBInterface $ilDB=null) |
Data Fields | |
const | NO_AVATAR_RID = '-' |
const | PASSWD_PLAIN = 'plain' |
const | PASSWD_CRYPTED = 'crypted' |
string | $login = '' |
string | $gender = '' |
string | $utitle = '' |
string | $firstname = '' |
string | $lastname = '' |
string | $fullname = '' |
string | $institution = '' |
string | $department = '' |
string | $street = '' |
string | $city = '' |
string | $zipcode = '' |
string | $country = '' |
string | $sel_country = '' |
string | $phone_office = '' |
string | $phone_home = '' |
string | $phone_mobile = '' |
string | $fax = '' |
string | $email = '' |
string | $hobby = '' |
string | $matriculation = '' |
string | $referral_comment = '' |
string | $approve_date = null |
string | $agree_date = null |
int | $active = 0 |
string | $client_ip = '' |
string | $auth_mode = null |
string | $latitude = null |
string | $longitude = null |
string | $loc_zoom = null |
int | $last_password_change_ts = 0 |
int | $login_attempts = 0 |
array | $user_defined_data = [] |
array | $prefs = [] |
string | $skin = '' |
![]() | |
const | TITLE_LENGTH = 255 |
const | DESC_LENGTH = 128 |
const | LONG_DESC_LENGTH = 4000 |
const | TABLE_OBJECT_DATA = "object_data" |
array | $objectList |
string | $untranslatedTitle |
Protected Member Functions | |
buildTextFromArray (array $a_attr) | |
Convert multi-text values to plain text. More... | |
readMultiTextFields () | |
deleteMultiTextFields () | |
![]() | |
doMDUpdateListener (string $a_element) | |
beforeMDUpdateListener (string $a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDeleteMetaData () | |
beforeDeleteMetaData () | |
handleAutoRating () | |
hasAutoRating () | |
Static Protected Attributes | |
static array | $personal_image_cache = [] |
Static Private Member Functions | |
static | _lookup (int $a_user_id, string $a_field) |
static | getLoginFromAuth () |
Gets the username from $ilAuth, and converts it into an ILIAS login name. More... | |
Private Attributes | |
bool | $is_self_registered = false |
ilCronDeleteInactiveUserReminderMail | $cron_delete_user_reminder_mail |
Services | $irss |
User class.
Definition at line 35 of file class.ilObjUser.php.
ilObjUser::__construct | ( | int | $a_user_id = 0 , |
bool | $a_call_by_reference = false |
||
) |
Definition at line 125 of file class.ilObjUser.php.
References $DIC, $skin, ILIAS\GlobalScreen\Provider\__construct(), read(), and ilObject\setId().
|
static |
check whether external account and authentication method matches with a user
Definition at line 2745 of file class.ilObjUser.php.
References ilObject\$db, $GLOBALS, $r, $res, ilAuthUtils\_getAuthModeName(), ilDBInterface\fetchAssoc(), null, and ilDBInterface\queryF().
Referenced by ilAuthProviderApache\doAuthentication(), ilLTIAppEventListener\doCronUpdate(), ilAuthProviderLTI\findUserId(), ilAuthFrontend\handleLoginAttempts(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderSoap\handleSoapAuth(), ilAuthProviderOpenIdConnect\handleUpdate(), ilUserImportParser\importEndTag(), ilLDAPUserSynchronisation\readInternalAccount(), ilLDAPQuery\readUserData(), ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), ilOpenIdConnectUserSync\updateUser(), and ilUserImportParser\verifyEndTag().
|
static |
Deletes a userpref value of the user from the database.
Definition at line 969 of file class.ilObjUser.php.
|
static |
Definition at line 953 of file class.ilObjUser.php.
|
static |
Checks whether the passed loginname already exists in history.
Definition at line 814 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilAccountRegistrationGUI\saveForm().
|
static |
Check if an external account name already exists.
Definition at line 3276 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
|
static |
Generates a unique hashcode for activating a user profile after registration.
Definition at line 3713 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 2307 of file class.ilObjUser.php.
References $DIC, $ilDB, and $q.
Referenced by ilSystemStylesTableGUI\getStyles(), and ilSystemStyleOverviewGUI\moveUserStyles().
|
static |
?array | $a_fields | |
int | $active | all kind of undocumented options, see code, needs refactoring |
Definition at line 2183 of file class.ilObjUser.php.
References $DIC, $ilDB, $q, $r, ilObject\$ref_id, ilSession\get(), and null.
|
static |
Definition at line 2918 of file class.ilObjUser.php.
References ANONYMOUS_USER_ID.
Referenced by ilWikiContributorsTableGUI\fillRow(), ILIAS\Repository\Profile\ProfileGUI\getAvatar(), and ilMessageGUI\getItemTitle().
|
static |
Get list of external account by authentication method Note: If login == ext_account for two user with auth_mode 'default' and auth_mode 'ldap' The ldap auth mode chosen.
bool | $a_read_auth_default | also get users with authentication method 'default' |
Definition at line 2677 of file class.ilObjUser.php.
References $DIC, $ilDB, $ilSetting, $q, $res, ilAuthUtils\_getAuthModeName(), and ilAuthUtils\AUTH_LOCAL.
Referenced by ilLDAPCronSynchronization\deactivateUsers(), ILIAS\COPage\Editor\Server\UI\ServerTable\getRecords(), and ilLDAPRoleGroupMapping\initServers().
|
static |
Lookup news feed password for user.
Definition at line 3218 of file class.ilObjUser.php.
References null.
Referenced by ilPDNewsBlockGUI\initPrivateSettingsForm(), and ilPDNewsBlockGUI\showFeedUrl().
|
static |
Definition at line 2616 of file class.ilObjUser.php.
References $DIC, $id, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilCourseXMLParser\__parseId(), and ilGroupXMLParser\parseId().
|
static |
Returns the last used loginname and the changedate of the passed user_id.
Throws an ilUserException in case no entry could be found.
ilUserException |
Definition at line 837 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjUserGUI\initForm().
|
static |
|
static |
Definition at line 3539 of file class.ilObjUser.php.
Referenced by ilAuthFrontend\checkExceededLoginAttempts(), and ilAuthFrontend\handleLoginAttempts().
|
static |
Definition at line 2282 of file class.ilObjUser.php.
References $DIC, $ilDB, and $q.
Referenced by ilSystemStyleOverviewGUI\checkStyleSettings(), ilStyleDefinition\getAllSkinStyles(), and ilSystemStylesTableGUI\getStyles().
|
static |
get number of users per auth mode
Definition at line 2807 of file class.ilObjUser.php.
References $DIC, $ilDB, $r, and ILIAS\Repository\int().
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
|
static |
string | $a_size | 'small', 'xsmall' or 'xxsmall' |
ilWACException |
Definition at line 2929 of file class.ilObjUser.php.
Referenced by ilTutorialSupportBlockGUI\createTutorItem(), ilRepositoryUserResultTableGUI\fillRow(), ilPublicUserProfileGUI\getEmbeddable(), ilUserProfile\getImageInput(), ILIAS\Awareness\WidgetManager\getListData(), ilUserUtil\getNamePresentation(), ilInternalLinkGUI\getUserSearchResult(), ilUserDataSet\getXmlRecord(), ilObjUserGUI\initForm(), ilObjPortfolioBaseGUI\renderFullscreenHeader(), ilObjBlogGUI\renderFullscreenHeader(), ilLikeGUI\renderModal(), ilPublicUserProfileGUI\renderTitle(), ilMStShowUserGUI\setTitleAndIcon(), and ilPersonalProfileGUI\showPublicProfileFields().
|
static |
get preferences for user
int | $user_id |
Definition at line 3492 of file class.ilObjUser.php.
References $DIC, $ilDB, $prefs, and $r.
Referenced by ilUserXMLWriter\__handleUser(), and ilConsultationHoursTableGUI\fillRow().
|
static |
return user data for given user ids
array | $a_internalids | of internal ids or numerics |
Definition at line 3445 of file class.ilObjUser.php.
References $data, $DIC, $ilDB, ilUtil\__extractId(), and IL_INST_ID.
Referenced by ilSoapUserAdministration\getUserXML(), and ilObjSurvey\sendNotificationMail().
|
static |
get ids of all users that have been inactivated since at least the given period
int | $period | (in days) |
ilException |
Definition at line 3882 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilCronDeleteInactivatedUserAccounts\run().
|
static |
get all users, that have a certain object within their clipboard
Definition at line 2583 of file class.ilObjUser.php.
References $DIC, $ilDB, $q, and ILIAS\Repository\int().
Referenced by ilObjMediaObject\lookupUsages().
|
static |
get users for a category or from system folder
$active | -1 (ignore), 1 = active, 0 = not active user |
Definition at line 3340 of file class.ilObjUser.php.
References $active, $data, $DIC, $ilDB, ilObject\$ref_id, ANONYMOUS_USER_ID, and USER_FOLDER_ID.
Referenced by ilSoapUserAdministration\getUsersForContainer().
|
static |
return user data for group members
int[] | $a_mem_ids array of member ids | |
int | $active | active can be -1 (ignore), 1 = active, 0 = not active user |
Definition at line 3384 of file class.ilObjUser.php.
Referenced by ilSoapUserAdministration\getUsersForContainer().
|
static |
return user data for given user id
int[] | array of member ids |
int | active can be -1 (ignore), 1 = active, 0 = not active user |
Definition at line 3397 of file class.ilObjUser.php.
References $active, $DIC, $ilDB, ANONYMOUS_USER_ID, and USER_FOLDER_ID.
Referenced by ilSoapUserAdministration\getUsersForContainer().
|
static |
return array of complete users which belong to a specific role
int | $active | if -1, all users will be delivered, 0 only non active, 1 only active users |
Definition at line 3297 of file class.ilObjUser.php.
References $active, $data, $DIC, $ilDB, and $r.
Referenced by ilSoapUserAdministration\getUserForRole().
|
static |
reads all active sessions from db and returns users that are online OR returns only one active user if a user_id is given
Definition at line 3638 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\$log, $q, $r, ilObject\$user, ANONYMOUS_USER_ID, ilLogger\debug(), ilUserFilter\getInstance(), ilUserAccountSettings\getInstance(), and ilLoggerFactory\getLogger().
Referenced by ceLTIc\LTI\User\Collector\getOnlineUsers().
|
static |
Definition at line 3552 of file class.ilObjUser.php.
Referenced by ilAuthFrontend\handleLoginAttempts().
|
static |
Definition at line 4051 of file class.ilObjUser.php.
References ANONYMOUS_USER_ID.
Referenced by ilContactUserActionProvider\collectActionsForTargetUser(), ilPublicUserProfileGUI\getEmbeddable(), ilCmiXapiUser\getIdent(), ilBuddyList\getInstanceByUserId(), ilInitialisation\handleAuthenticationFail(), ilCmiXapiLaunchGUI\initCmixUser(), ilBuddyList\request(), ilCmiXapiUser\save(), ilStartUpGUI\showLogout(), ilBuddySystemGUI\transitionAsyncCommand(), and ilContactGUI\updateRelationState().
|
static |
check if a login name already exists You may exclude a user from the check by giving his user id as 2nd paramter
Definition at line 3246 of file class.ilObjUser.php.
References $DIC, $ilDB, $q, $r, and null.
Referenced by ilUserLoginInputGUI\checkInput(), ilECSAppEventListener\handleNewAccountCreation(), ilAuthProviderSaml\handleSamlAuth(), ilCalendarAppointmentGUI\loadNotificationRecipients(), ilLuceneQueryParser\replaceOwnerCallback(), ilAccountRegistrationGUI\saveForm(), ilObjEmployeeTalkSeriesGUI\saveObject(), ilConsultationHourAppointments\setManager(), ilPersonalProfileGUI\updateLoginOrSetErrorMessages(), and ilAuthProviderDatabase\withoutPasswordVerification().
|
staticprivate |
Definition at line 568 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and null.
|
static |
Definition at line 1710 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMailSearchObjectGUI\cancel(), ilLearningSequenceParticipantsTableGUI\fillRow(), ILIAS\Contact\BuddySystem\Tables\RelationsTable\filter(), and ILIAS\Contact\Provider\ContactNotificationProvider\getNotifications().
|
static |
Definition at line 2736 of file class.ilObjUser.php.
Referenced by ilECSAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), and ilLTIAppEventListener\handleUpdateStatus().
|
static |
Definition at line 625 of file class.ilObjUser.php.
|
static |
Definition at line 615 of file class.ilObjUser.php.
Referenced by ilObjSurvey\getAppraiseesData(), ilAccessibilitySupportContacts\getMailsToAddress(), ilSystemSupportContacts\getMailsToAddress(), ilObjSurvey\getRatersData(), ilUserCronCheckAccounts\run(), ilBadgeHandler\sendNotification(), and ilMailSearchGUI\showResults().
|
static |
Definition at line 685 of file class.ilObjUser.php.
Referenced by ilECSAppEventListener\handleNewAccountCreation(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilLTIAppEventListener\handleUpdateStatus(), ilUserImportParser\importEndTag(), ilAuthProviderECS\resumeCurrentSession(), and ilUserImportParser\verifyEndTag().
|
static |
Lookup news feed hash for user.
If hash does not exist, create one.
Definition at line 3174 of file class.ilObjUser.php.
References $DIC, $ilDB, null, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ilUserFeedWriter\__construct(), ilPDNewsBlockGUI\showFeedUrl(), and ilNewsForContextBlockGUI\showFeedUrl().
|
static |
lookup fields (deprecated; use more specific methods instead)
Definition at line 665 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ILIAS\Test\ExportImport\ResultsExportExcel\getUserFieldsForUserID(), and ilCertificateUserObjectHelper\lookupFields().
|
static |
Definition at line 733 of file class.ilObjUser.php.
Referenced by ilFirstLoginLearningHistoryProvider\getEntries().
|
static |
Definition at line 588 of file class.ilObjUser.php.
References $DIC, $fullname, and $ilDB.
Referenced by ilExAssignmentTeam\addTeamMember(), ilCalendarAppointmentGUI\book(), ilBookingProcessWithoutScheduleGUI\bookMultipleParticipants(), ILIAS\AccessControl\Log\Table\buildChangeColumn(), ilObjStudyProgrammeIndividualPlanGUI\buildFrame(), ilTestEvaluationGUI\buildParticipantSelectorArray(), ilCalendarAppointmentGUI\cancelBooking(), ilObjSurvey\checkReminder(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilObjStudyProgrammeMembersGUI\confirmRemoveUsers(), ilExAssignmentTeam\createTeam(), ILIAS\Calendar\ConsultationHours\BookingCancellationGUI\getBookingInfo(), ilConsultationHourUtils\getConsultationHourLinksForRepositoryObject(), ilLPTableBaseGUI\getExportMeta(), ilCalendarAppointmentPanelGUI\getHTML(), ilCalendarBlockGUI\getHTML(), ILIAS\Calendar\ConsultationHours\BookingCancellationGUI\getInputs(), ilExAssignmentTeamLogTableGUI\getItems(), ilLearningModuleNotification\getMailBody(), ilConsultationHourAppointments\getManager(), ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction\getModal(), ILIAS\Test\Participants\ParticipantTableDeleteResultsAction\getModal(), ilObjSurvey\getSurveyParticipants(), ilExAssignmentTeam\getTeamId(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilBookingEntry\lookupManagedBookingsForObject(), ilSCORMTrackingItemsScoTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilAssignmentsPerParticipantTableGUI\parseData(), ilCalendarPresentationGUI\prepareOutput(), ilTestEvaluationGUI\printResults(), ILIAS\Calendar\ConsultationHours\BookingDataProvider\read(), ilCalendarCategories\readConsultationHoursCalendar(), ilObjStudyProgrammeMembersGUI\removeCertificate(), ilObjStudyProgrammeMembersGUI\removeCertificateMulti(), ilExAssignmentTeam\removeTeamMember(), ILIAS\Wiki\Notification\NotificationGUI\send(), ilCalendarMailNotification\send(), ilConsultationHoursGUI\sendInfoAboutUnassignedUsers(), ilWikiUtil\sendNotification(), ILIAS\Notes\NotificationsManager\sendNotifications(), ilExAssignmentReminder\sendReminders(), ilObjSurvey\sendTutorNotification(), ilTestEvaluationGUI\showResults(), ilObjStudyProgrammeMembersGUI\updateCertificate(), ilObjStudyProgrammeMembersGUI\updateCertificateMulti(), ilObjStudyProgrammeMembersGUI\updateFromCurrentPlan(), and ilObjStudyProgrammeMembersGUI\updateFromCurrentPlanMulti().
|
static |
Definition at line 620 of file class.ilObjUser.php.
Referenced by ilMail\getSalutation().
|
static |
string|string[] | $a_user_str |
Definition at line 694 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, ILIAS\Repository\int(), and null.
Referenced by ilMail\__construct(), ilObjUserGUI\__sendProfileMail(), ilSurveyRaterGUI\addRater(), ilOrgUnitUserAssignmentGUI\addStaff(), ilRepositorySearchGUI\addUserFromAutoComplete(), ilObjBlogGUI\addUserFromAutoComplete(), ilBookingParticipantGUI\addUserFromAutoCompleteObject(), ilExSubmissionTeamGUI\addUserFromAutoCompleteObject(), ilExerciseManagementGUI\addUserFromAutoCompleteObject(), ilTreeTrashQueries\appendTrashNodeForContainerQueryFilter(), ilSkillProfileGUI\assignUser(), ilOrgUnitSimpleUserImport\buildUserId(), ilChatroomInviteUsersToPrivateRoomGUI\byLogin(), ilPermissionGUI\changeOwner(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilLTIAppEventListener\doCronUpdate(), ilBenchmark\enableDbBenchmarkForUserName(), ilAuthProviderLTI\findUserId(), ilMail\formatNamesForOutput(), ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees(), ILIAS\Survey\Settings\SettingsFormGUI\getTutorIdsFromForm(), ILIAS\Survey\Settings\SettingsFormGUI\getTutorResIdsFromForm(), ilObjectPermissionStatusGUI\getUser(), ilAccessibilitySupportContacts\getValidSupportContactIds(), ilSystemSupportContacts\getValidSupportContactIds(), ilDclStandardField\getValueFromExcel(), ilSoapObjectAdministration\getXMLTree(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLogin(), ilAuthFrontend\handleLoginAttempts(), ilSessionControl\handleLoginEvent(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderSoap\handleSoapAuth(), ilAuthProviderSaml\importUser(), ilPCParagraph\intLinks2xml(), ilSoapRBACAdministration\parseUserID(), ilStartUpGUI\processCode(), ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), ilDclRecordEditGUI\save(), ilObjEmployeeTalkSeriesGUI\saveObject(), ilSingleUserShareGUI\saveShare(), ilObjSurvey\sendNotificationMail(), ILIAS\Notes\NotificationsManager\sendNotifications(), ilObjSurvey\sent360Reminders(), ilRegistrationSettings\setApproveRecipientLogins(), ilOpenIdConnectUserSync\setInternalAccount(), ilAccessibilitySupportContacts\setList(), ilSystemSupportContacts\setList(), ilAuthProviderLDAP\updateAccount(), ilLDAPAttributeToUser\usersToXML(), ilRegistrationSettings\validate(), and ilUserImportParser\verifyEndTag().
|
static |
Definition at line 1545 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\$lng, $q, $r, and ilLanguage\getDefaultLanguage().
Referenced by ilLanguageFactory\_getLanguageOfUser().
|
static |
Definition at line 728 of file class.ilObjUser.php.
Referenced by ilCronDeleteInactiveUserReminderMail\removeEntriesFromTableIfLastLoginIsNewer().
|
static |
Definition at line 680 of file class.ilObjUser.php.
Referenced by ilCourseXMLParser\__parseId(), ilObjEmployeeTalkGUI\addChangeDateButtonsToToolbar(), ILIAS\Mail\Placeholder\MailSignatureUserLoginPlaceholder\addPlaceholder(), ILIAS\Test\Questions\Presentation\Printer\addResultUserInfoToTemplate(), ilObjSystemFolderGUI\benchmarkObject(), ILIAS\Certificate\Overview\CertificateOverviewTable\buildTableRows(), ilCalendarAppointmentGUI\cancel(), ilContactGUI\chatroomInvitationMessage(), ilObjSurvey\checkReminder(), ilWorkspaceUserActionProvider\collectActionsForTargetUser(), ilChatUserActionProvider\collectActionsForTargetUser(), ilOrgUnitUserAssignmentGUI\confirmRemove(), ilForumMailEventNotificationSender\createMailValueObjectsWithAttachments(), ilForumMailEventNotificationSender\createMailValueObjectWithoutAttachments(), ilObjRole\delete(), ilStartUpGUI\doStandardAuthentication(), ilObjSessionGUI\eventsListObject(), ilSessionOverviewGUI\exportCSV(), ilStudyProgrammeIndividualPlanTableGUI\fetchData(), ilDclBaseRecordModel\fillRecordFieldExcelExport(), ilPDNewsTableGUI\fillRow(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilAccessibilitySupportContactsGUI\getContactLogins(), ILIAS\Container\Skills\ContSkillMemberRetrieval\getData(), ilAttendanceList\getHTML(), ILIAS\Test\ExportImport\CertificateExport\getLoginsForIds(), ilConsultationHourAppointments\getManagedUsers(), ilConsultationHourAppointments\getManager(), ilStudyProgrammeMailMemberSearchGUI\getProcessData(), ilStudyProgrammeMailTemplateContext\getSpecificPlaceholders(), ilObjSurvey\getUserDataFromActiveId(), ILIAS\Forum\Notification\ForumNotificationTable\getUserNotificationTableData(), ilInternalLinkGUI\getUserSearchResult(), ilUserClipboard\getValidatedContent(), ilObjUserGUI\getValues(), ilAuthFrontend\handleAuthenticationSuccess(), ilMailSearchObjectGUI\mailMembers(), ilContactGUI\mailToUsers(), ilPermissionGUI\owner(), ilCalendarSharedUserListTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilTrashTableGUI\parse(), ilRegistrationSettings\read(), ilLearningSequenceRoles\readMemberData(), ilExerciseManagementGUI\redirectFeedbackMailObject(), ilBookingReservationsGUI\redirectMailToBooker(), ilPortfolioRepositoryGUI\redirectSendMailToSharer(), ilBuddyList\request(), ilMailSummaryNotification\send(), ILIAS\Wiki\Notification\NotificationGUI\send(), ilLearningModuleNotification\send(), ilObjSurvey\send360ReminderToUser(), ilObjSurvey\sendAppraiseeCloseNotification(), ilObjSurvey\sendAppraiseeNotification(), ilTimingsCronReminder\sendExceededMail(), ilTimingsCronReminder\sendFreshlyStartedMail(), ilSkillNotifications\sendMail(), ilLPTableBaseGUI\sendMail(), ilMailNotification\sendMail(), ilMembershipCronNotifications\sendMail(), ilObjContentObjectGUI\sendMailToBlockedUsers(), ilMembershipMailGUI\sendMailToSelectedUsers(), ilStudyProgrammeMailMemberSearchGUI\sendMailToSelectedUsers(), ilMailMemberSearchGUI\sendMailToSelectedUsers(), ilMembershipGUI\sendMailToSelectedUsers(), ilConsultationHoursGUI\sendMailToSelectedUsers(), ilMembershipCronMinMembers\sendMessage(), ilWikiUtil\sendNotification(), ILIAS\Notes\NotificationsManager\sendNotifications(), ilObjSurvey\sendRaterNotification(), ilExAssignmentReminder\sendReminders(), ilObjSurvey\sendTutorNotification(), ilEmployeeTalkTableGUI\setTalkData(), ilMailSearchGUI\showResults(), ilMailFolderGUI\showUser(), ilContactGUI\submitInvitation(), ILIAS\LegalDocuments\Provide\ProvideHistory\table(), ilBuddySystemGUI\transitionAsyncCommand(), ilBuddySystemGUI\transitionCommand(), ilContactGUI\updateRelationState(), ilUserImportParser\verifyEndTag(), and ilPCParagraph\xml2output().
|
static |
lookup user name
Definition at line 634 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ILIAS\components\WOPI\Handler\GetFileInfoResponse\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilObjTestAccess\_getParticipantData(), ilSoapLearningProgressAdministration\addUserProgress(), ilTimingsCronReminder\buildMailSalutation(), ilMailUserActionProvider\collectActionsForTargetUser(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilMembershipGUI\confirmAssignFromWaitingList(), ilMembershipGUI\confirmAssignSubscribers(), ilSessionMembershipGUI\confirmDeleteParticipants(), ilMembershipGUI\confirmDeleteParticipants(), ilMembershipGUI\confirmRefuseFromList(), ilMembershipGUI\confirmRefuseSubscribers(), ILIAS\Exercise\Submission\SubmissionManager\copySubmissionsToDir(), ilLocalUserGUI\deleteUsers(), ilObjCategoryGUI\deleteUsersObject(), ilBlogExerciseGUI\downloadExcAssFile(), ilPortfolioExerciseGUI\downloadExcSubFile(), ilWikiPageGUI\downloadExcSubFile(), ilObjSessionGUI\eventsListObject(), ilSessionOverviewGUI\exportCSV(), ilObjExercise\exportGradesExcel(), ilDclBaseRecordModel\fillRecordFieldExcelExport(), ilCalendarInboxSharedTableGUI\fillRow(), ilFileVersionsTableGUI\fillRow(), ilObjSurvey\getAppraiseesData(), ilBookingParticipant\getAssignableParticipants(), ilLMTracker\getBlockedUsersInformation(), ILIAS\Container\Skills\ContSkillMemberRetrieval\getData(), ILIAS\Exercise\Submission\SubmissionManager\getDirectoryNameFromUserData(), ilExSubmission\getDirectoryNameFromUserData(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\getFeedbackTitle(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackZipRepository\getFiles(), ilIndividualAssessmentMembersTableGUI\getFullNameFor(), ilAttendanceList\getHTML(), ilSurveyParticipantsTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilExSubmission\getLastDownloadTime(), ILIAS\Test\Logging\TestLogViewer\getLegacyLogExportForObjId(), ilBookingParticipant\getList(), ILIAS\BookingManager\Reservations\ReservationDBRepository\getListByDate(), ilExAssignment\getMemberListData(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackZipManager\getMultiFeedbackStructureFile(), ilPageObject\getPageContributors(), ILIAS\Portfolio\PortfolioPrintViewProviderGUI\getPages(), ilPageObject\getParentObjectContributors(), ilDownloadSubmissionsBackgroundTask\getParticipantBucketTitle(), ilStudyProgrammeMailMemberSearchGUI\getProcessData(), ilObjWikiListGUI\getProperties(), ilObjSurvey\getRatersData(), ILIAS\AccessControl\Log\Table\getRows(), ilMail\getSalutation(), ilDclBaseRecordModel\getStandardField(), ilObjSurvey\getSurveyParticipants(), ILIAS\Forum\Notification\ForumNotificationTable\getUserNotificationTableData(), ilObjStudyProgrammeAutoCategoriesGUI\getUserRepresentation(), ilObjStudyProgrammeAutoMembershipsGUI\getUserRepresentation(), ilExerciseXMLWriter\handleAssignmentMembers(), ilWorkspaceShareTableGUI\importData(), ilLOMemberTestResultTableGUI\init(), ilCourseParticipantsGroupsTableDataRetrieval\init(), ilContSkillAdminGUI\initCompetenceAssignmentForm(), ilWorkspaceShareTableGUI\initFilter(), ilExerciseManagementGUI\initIndividualDeadlineForm(), ilObjectCustomUserFieldsGUI\initMemberForm(), ilAssignmentsPerParticipantTableGUI\initMode(), ilGroupParticipantsTableGUI\lookupUserName(), ilCourseParticipantsTableGUI\lookupUserName(), ilCalendarSharedUserListTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilCourseReferenceDeleteConfirmationTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilGroupXMLParser\parseId(), ilLearningSequenceRoles\readMemberData(), ilObjCourseGUI\readMemberData(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilObjPortfolioBaseGUI\renderFullscreenHeader(), ilObjBlogGUI\renderFullscreenHeader(), ilObjBlogGUI\renderNavigationByAuthors(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\saveManScoringParticipantScreen(), ilExerciseManagementGUI\saveStatus(), ilExerciseManagementGUI\showParticipantObject(), ilMailSearchGUI\showResults(), ilCourseContentGUI\showUserTimings(), ilObjTest\userLookupFullName(), ilMailNotification\userToString(), and ILIAS\Survey\Settings\SettingsFormGUI\withAfterEnd().
|
static |
Definition at line 1075 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and null.
Referenced by ilNewsItem\_getNewsItemsOfUser(), ilChatUserActionProvider\acceptsMessages(), ilChatroomViewGUI\buildUserActions(), ilObjUserAccess\canBeDelivered(), ilMailSearchObjectGUI\cancel(), ilUserUserActionProvider\collectActionsForTargetUser(), ilMailFolderGUI\confirmDeleteMails(), ilMailSearchObjectMembershipsTableGUI\fillRow(), ilMail\formatNamesForOutput(), ilSessionReminder\getEffectiveLeadTime(), ilBuddySystemLinkButton\getHtml(), ilUserUtil\getProfileLink(), ilTutorialSupportBlockGUI\hasContactEnabled(), ilBuddySystemGUI\requestCommand(), ilMailSearchGUI\showResults(), ilBuddySystemGUI\transitionAsyncCommand(), and ilContactGUI\updateRelationState().
|
static |
Definition at line 2328 of file class.ilObjUser.php.
References $DIC, $ilDB, and $q.
Referenced by ilSystemStyleOverviewGUI\moveUserStyles().
|
static |
int[] | $a_user_ids |
Definition at line 2164 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilMemberExport\fetchUsers(), ilAttendanceList\getNonMemberUserData(), ilCourseMembershipGUI\getPrintMemberData(), ilLearningSequenceRoles\readMemberData(), and ilObjGroupGUI\readMemberData().
|
static |
Set news feed password for user.
Definition at line 3231 of file class.ilObjUser.php.
Referenced by ilPDNewsBlockGUI\changeFeedSettings().
|
static |
Definition at line 3569 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilUtil\now().
Referenced by ilAuthFrontend\handleLoginAttempts().
|
static |
Definition at line 2708 of file class.ilObjUser.php.
References $DIC, $ilDB, $q, and ilUtil\now().
Referenced by ilLDAPCronSynchronization\deactivateUsers().
|
static |
Create a personal picture image file from a temporary image file.
int | $obj_id | The object id of the related user account |
Definition at line 2859 of file class.ilObjUser.php.
References $DIC, ilObject\$user, getAvatarRid(), ilObject\getId(), NO_AVATAR_RID, null, setAvatarRid(), and update().
Referenced by ilUserImportParser\importEndTag(), and ilUserDataSet\importRecord().
|
static |
Verifies a registration hash.
Definition at line 3762 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilStartUpGUI\processIndexPHP().
|
static |
Definition at line 1582 of file class.ilObjUser.php.
Referenced by ilAuthProviderSaml\handleSamlAuth().
|
static |
Definition at line 1566 of file class.ilObjUser.php.
|
static |
|
static |
Definition at line 982 of file class.ilObjUser.php.
Referenced by ilBadgeProfileGUI\saveSettings(), and ilChatroomViewGUI\toggleAutoMessageDisplayState().
ilObjUser::activateDeletionFlag | ( | ) |
Definition at line 4056 of file class.ilObjUser.php.
References writePref().
ilObjUser::addObjectToClipboard | ( | int | $a_item_id, |
string | $a_type, | ||
string | $a_title, | ||
int | $a_parent = 0 , |
||
string | $a_time = '' , |
||
int | $a_order_nr = 0 |
||
) |
add an item to user's personal clipboard
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 2366 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
Referenced by ilPageEditorGUI\copyLinkedMediaToClipboard(), and ilPCMediaObjectGUI\copyToClipboard().
ilObjUser::addToPCClipboard | ( | string | $a_content, |
string | $a_time, | ||
int | $a_nr | ||
) |
Add a page content item to PC clipboard (should go to another class)
Definition at line 2412 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, ilObject\getId(), and ilSession\set().
Referenced by ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager\copyContents().
ilObjUser::assignData | ( | array | $a_data | ) |
loads a record 'user' from array
array | $a_data,<string,mixed> |
Definition at line 249 of file class.ilObjUser.php.
References $DIC, $ilErr, null, setAuthMode(), setBirthday(), setCity(), setClientIP(), setComment(), setCountry(), setDepartment(), setEmail(), setExternalAccount(), setFax(), setFirstLogin(), setFirstname(), setFullname(), setGender(), setHobby(), setInactivationDate(), setInstitution(), setIsSelfRegistered(), setLastLogin(), setLastname(), setLastProfilePrompt(), setLastUpdate(), setLatitude(), setLocationZoom(), setLogin(), setLongitude(), setMatriculation(), setPasswd(), setPasswordEncodingType(), setPasswordSalt(), setPhoneHome(), setPhoneMobile(), setPhoneOffice(), setProfileIncomplete(), setSecondEmail(), setSelectedCountry(), setStreet(), setTimeLimitFrom(), setTimeLimitMessage(), setTimeLimitOwner(), setTimeLimitUnlimited(), setTimeLimitUntil(), setUTitle(), and setZipcode().
Referenced by read().
|
protected |
Convert multi-text values to plain text.
string[] |
Definition at line 4163 of file class.ilObjUser.php.
Referenced by getGeneralInterestsAsText(), getLookingForHelpAsText(), and getOfferingHelpAsText().
ilObjUser::checkTimeLimit | ( | ) |
Definition at line 1822 of file class.ilObjUser.php.
References getTimeLimitFrom(), getTimeLimitUnlimited(), and getTimeLimitUntil().
Referenced by ilAuthFrontend\checkTimeLimit(), and ilAccountMail\send().
ilObjUser::checkUserId | ( | ) |
check user id with login name
Definition at line 2011 of file class.ilObjUser.php.
References $id.
ilObjUser::clipboardDeleteAll | ( | ) |
Definition at line 2494 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
Referenced by delete().
ilObjUser::clipboardDeleteObjectsOfType | ( | string | $a_type | ) |
Definition at line 2482 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and ilObject\getId().
ilObjUser::clipboardHasObjectsOfType | ( | string | $a_type | ) |
Check whether clipboard has objects of a certain type.
Definition at line 2463 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
|
static |
Definition at line 2942 of file class.ilObjUser.php.
References $DIC, ilObject\$user, ILIAS\ResourceStorage\Services\consume(), getAvatarRid(), ilFileUtils\getWebspaceDir(), ILIAS\ResourceStorage\Services\manage(), NO_AVATAR_RID, and null.
Referenced by ilUserDataSet\getXmlRecord().
ilObjUser::delete | ( | ) |
Definition at line 1101 of file class.ilObjUser.php.
References ilObject\$db, $DIC, $ilDB, $q, ilObject\$tree, ilEventParticipants\_deleteByUser(), ilBlockSetting\_deleteSettingsOfUser(), ilObjUserTracking\_deleteUser(), ilObjCourse\_deleteUser(), ilSession\_destroyByUserId(), ilLDAPRoleGroupMapping\_getInstance(), ilSCORM13Package\_removeTrackingDataForUser(), ilObjSCORMLearningModule\_removeTrackingDataForUser(), clipboardDeleteAll(), ilBadgeAssignment\deleteByUserId(), deleteMultiTextFields(), deleteUserDefinedFieldEntries(), ilObjPortfolio\deleteUserPortfolios(), ilObject\getId(), ilOrgUnitUserAssignmentQueries\getInstance(), getLogin(), ilNotification\removeForUser(), removeUserPicture(), and resetOwner().
|
protected |
Definition at line 4246 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
Referenced by delete(), and updateMultiTextFields().
ilObjUser::deletePref | ( | string | $a_keyword | ) |
Definition at line 948 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::deleteUserDefinedFieldEntries | ( | ) |
Definition at line 3028 of file class.ilObjUser.php.
References $data, $DIC, ilUserDefinedFields\_getInstance(), ilObject\_lookupTitle(), ilUserDefinedData\deleteEntriesOfUser(), ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), getCity(), getComment(), getCountry(), ilObject\getCreateDate(), getDepartment(), getEmail(), getFax(), getFirstname(), getGender(), getHobby(), ilObject\getId(), getInstitution(), getLastname(), getLogin(), getMatriculation(), getPhoneHome(), getPhoneMobile(), getPhoneOffice(), getSecondEmail(), getSelectedCountry(), getStreet(), getTimeLimitFrom(), getTimeLimitUnlimited(), getTimeLimitUntil(), getUserDefinedData(), getUTitle(), getZipcode(), IL_CAL_DATETIME, IL_CAL_UNIX, ILIAS\Language\Language\loadLanguageModule(), null, ilDatePresentation\resetToDefaults(), ilDatePresentation\setLanguage(), ilDatePresentation\setUseRelativeDates(), ILIAS\Language\Language\txt(), and UDF_TYPE_WYSIWYG.
Referenced by delete().
ilObjUser::existsPref | ( | string | $a_keyword | ) |
Definition at line 1070 of file class.ilObjUser.php.
|
static |
Definition at line 4260 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilPublicUserProfileGUI\getAutocompleteResult().
ilObjUser::getActive | ( | ) |
Definition at line 1705 of file class.ilObjUser.php.
References $active.
Referenced by ilMailSearchObjectGUI\cancel(), ilAuthFrontend\checkActivation(), ilAuthFrontend\checkExceededLoginAttempts(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::getAgreeDate | ( | ) |
ilObjUser::getApproveDate | ( | ) |
ilObjUser::getAuthMode | ( | bool | $a_auth_key = false | ) |
Definition at line 2653 of file class.ilObjUser.php.
References $auth_mode, and ilAuthUtils\_getAuthMode().
Referenced by ILIAS\Data\Password\LocalUserPasswordManager\allowPasswordChange(), ilECSAppEventListener\handleMembership(), isPasswordChangeDemanded(), isPasswordExpired(), saveAsNew(), and update().
ilObjUser::getAvatar | ( | ) |
Definition at line 2913 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by ilPDMailBlockGUI\getListItemForData().
ilObjUser::getAvatarRid | ( | ) |
Definition at line 1978 of file class.ilObjUser.php.
References $avatar_rid.
Referenced by _uploadPersonalPicture(), copyProfilePicturesToDirectory(), and removeUserPicture().
ilObjUser::getBirthday | ( | ) |
Definition at line 3812 of file class.ilObjUser.php.
References $birthday.
Referenced by saveAsNew(), and update().
ilObjUser::getCity | ( | ) |
Definition at line 1370 of file class.ilObjUser.php.
References $city.
Referenced by ilPersonalProfileGUI\addLocationToForm(), and deleteUserDefinedFieldEntries().
ilObjUser::getClientIP | ( | ) |
Definition at line 1456 of file class.ilObjUser.php.
References $client_ip.
Referenced by ilAuthFrontend\checkIp().
ilObjUser::getClipboardChilds | ( | int | $a_parent, |
string | $a_insert_time | ||
) |
Get children of an item.
Definition at line 2552 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\_lookupTitle().
ilObjUser::getClipboardObjects | ( | string | $a_type = '' , |
bool | $a_top_nodes_only = false |
||
) |
get all clipboard objects of user and specified type
Definition at line 2507 of file class.ilObjUser.php.
References $DIC, $ilDB, $q, ilPageObject\_exists(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilObject\getId(), and ilMediaPoolPage\lookupTitle().
Referenced by ilClipboardTableGUI\getItems().
ilObjUser::getComment | ( | ) |
Definition at line 1657 of file class.ilObjUser.php.
References $referral_comment.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getCountry | ( | ) |
Definition at line 1390 of file class.ilObjUser.php.
References $country.
Referenced by ilPersonalProfileGUI\addLocationToForm(), deleteUserDefinedFieldEntries(), and ILIAS\LegalDocuments\Condition\UserCountry\eval().
ilObjUser::getCurrentLanguage | ( | ) |
returns the current language (may differ from user's pref setting!)
Definition at line 1599 of file class.ilObjUser.php.
References ilSession\get().
ilObjUser::getDateFormat | ( | ) |
Definition at line 1030 of file class.ilObjUser.php.
References ilCalendarSettings\_getInstance(), ilCalendarSettings\DATE_FORMAT_DMY, ilCalendarSettings\DATE_FORMAT_MDY, ilCalendarSettings\DATE_FORMAT_YMD, and getPref().
Referenced by getDateTimeFormat(), ilIndividualAssessmentDateFormatter\getUserDateFormat(), and ilDclDateSelectionFieldModel\personalizeOptionValue().
ilObjUser::getDateTimeFormat | ( | ) |
Definition at line 1050 of file class.ilObjUser.php.
References getDateFormat(), getTimeFormat(), and ilCalendarSettings\TIME_FORMAT_24.
Referenced by ilDclDatetimeSelectionFieldModel\personalizeOptionValue().
ilObjUser::getDepartment | ( | ) |
Definition at line 1350 of file class.ilObjUser.php.
References $department.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getEmail | ( | ) |
Definition at line 1489 of file class.ilObjUser.php.
References $email.
Referenced by shibUser\createFields(), deleteUserDefinedFieldEntries(), ILIAS\EmployeeTalk\Notification\Calendar\VCalendarGenerator\getEventfromTalk(), ilCmiXapiUser\getIdent(), ILIAS\User\Profile\ChangeMailTokenDBRepository\getNewTokenForUser(), ILIAS\User\Profile\ChangeMailTokenDBRepository\getTokenForTokenString(), ilAccountMail\replacePlaceholders(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), ilObjUserFolderGUI\showActionConfirmation(), ilPasswordAssistanceGUI\submitAssistanceForm(), and shibUser\updateFields().
ilObjUser::getExternalAccount | ( | ) |
Definition at line 2666 of file class.ilObjUser.php.
References $ext_account.
Referenced by ilCmiXapiUser\getIdent(), ilCmiXapiUser\getIdentAsId(), ilECSAppEventListener\handleMembership(), saveAsNew(), and update().
ilObjUser::getFax | ( | ) |
Definition at line 1446 of file class.ilObjUser.php.
References $fax.
Referenced by deleteUserDefinedFieldEntries().
|
static |
Get first letters of all lastnames.
int[] | $user_ids |
Definition at line 3924 of file class.ilObjUser.php.
References $DIC, $ilDB, $q, ANONYMOUS_USER_ID, and null.
ilObjUser::getFirstLogin | ( | ) |
Definition at line 1627 of file class.ilObjUser.php.
References $first_login.
Referenced by refreshLogin().
ilObjUser::getFirstname | ( | ) |
Definition at line 1320 of file class.ilObjUser.php.
References $firstname.
Referenced by ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilMailSearchObjectGUI\cancel(), ilExerciseManagementGUI\collectFeedbackDataFromPeer(), ilObjSCORMLearningModuleGUI\deleteTrackingForUser(), deleteUserDefinedFieldEntries(), ilCmiXapiUser\getName(), getPublicName(), ilExerciseManagementGUI\getReportPanel(), ilObjSurvey\getUserDataFromActiveId(), ilRepositorySearchGUI\initFormSearch(), ilAccountMail\replacePlaceholders(), and shibUser\returnNewLoginName().
ilObjUser::getFullname | ( | int | $a_max_strlen = 0 | ) |
int | $a_max_strlen | max. string length to return (optional) if string length of fullname is greater than given a_max_strlen the name is shortened in the following way:
|
Definition at line 1231 of file class.ilObjUser.php.
References ilUtil\stripSlashes().
Referenced by ilIndividualAssessmentMembersStorageDB\createAssessmentMember(), shibUser\createFields(), ILIAS\EmployeeTalk\Notification\Calendar\VCalendarGenerator\getEventfromTalk(), ilCmiXapiUser\getName(), ilTutorialSupportBlockGUI\getTutorData(), ilObjSurvey\getUserDataFromActiveId(), ilDclBaseFieldRepresentation\passThroughFilter(), ilObjSurvey\saveAuthorToMetadata(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), and ilObjUserFolderGUI\showActionConfirmation().
ilObjUser::getGender | ( | ) |
Definition at line 1295 of file class.ilObjUser.php.
References $gender.
Referenced by deleteUserDefinedFieldEntries(), ilObjSurvey\getUserDataFromActiveId(), and ilAccountMail\replacePlaceholders().
ilObjUser::getGeneralInterests | ( | ) |
Definition at line 4097 of file class.ilObjUser.php.
References $interests_general.
Referenced by updateMultiTextFields().
ilObjUser::getGeneralInterestsAsText | ( | ) |
Get general interests as plain text.
Definition at line 4105 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getHobby | ( | ) |
Definition at line 1509 of file class.ilObjUser.php.
References $hobby.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getInactivationDate | ( | ) |
ilObjUser::getInstitution | ( | ) |
Definition at line 1340 of file class.ilObjUser.php.
References $institution.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getLanguage | ( | ) |
Definition at line 1520 of file class.ilObjUser.php.
Referenced by ILIAS\LegalDocuments\Condition\UserLanguage\eval(), ilAccessibilityUserHasLanguageCriterion\evaluate(), ilPortfolioDeclarationOfAuthorship\getForUser(), ILIAS\Notifications\Model\ilNotificationConfig\getUserInstance(), ilDefaultPlaceholderValues\getUserLanguage(), ILIAS\LearningModule\Export\LMHtmlExport\initLanguage(), ilMailTemplateContext\initLanguage(), ilADNNotification\isVisibleToUserBasedOnLanguage(), ilStartUpGUI\processIndexPHP(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), and ilAccountRegistrationMail\trySendingUserDefinedAccountMail().
ilObjUser::getLastLogin | ( | ) |
Definition at line 1617 of file class.ilObjUser.php.
References $last_login.
Referenced by ilObjUserFolderGUI\showActionConfirmation().
ilObjUser::getLastname | ( | ) |
Definition at line 1330 of file class.ilObjUser.php.
References $lastname.
Referenced by ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilMailSearchObjectGUI\cancel(), ilExerciseManagementGUI\collectFeedbackDataFromPeer(), ilObjSCORMLearningModuleGUI\deleteTrackingForUser(), deleteUserDefinedFieldEntries(), ilCmiXapiUser\getName(), getPublicName(), ilExerciseManagementGUI\getReportPanel(), ilObjSurvey\getUserDataFromActiveId(), ilRepositorySearchGUI\initFormSearch(), ilAccountMail\replacePlaceholders(), and shibUser\returnNewLoginName().
ilObjUser::getLastPasswordChangeTS | ( | ) |
Definition at line 1530 of file class.ilObjUser.php.
References $last_password_change_ts.
Referenced by getPasswordAge(), isPasswordChangeDemanded(), isPasswordExpired(), and setLastPasswordChangeToNow().
ilObjUser::getLastProfilePrompt | ( | ) |
ilObjUser::getLastUpdate | ( | ) |
ilObjUser::getLatitude | ( | ) |
Definition at line 1953 of file class.ilObjUser.php.
References $latitude.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLocationZoom | ( | ) |
Definition at line 1973 of file class.ilObjUser.php.
References $loc_zoom.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLogin | ( | ) |
Definition at line 1261 of file class.ilObjUser.php.
References $login.
Referenced by ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilMailSearchObjectGUI\cancel(), shibUser\create(), delete(), deleteUserDefinedFieldEntries(), ilPasswordAssistanceGUI\getAssignPasswordForm(), ilCmiXapiUser\getIdent(), ilCmiXapiUser\getIdentAsId(), ilUserProfile\getLoginInput(), ilTutorialSupportBlockGUI\getMailUrlOfUser(), getPublicName(), ilObjSurvey\getUserDataFromActiveId(), ilObjEmployeeTalkSeriesGUI\initCreateForm(), ilRepositorySearchGUI\initFormSearch(), ilAccountMail\replacePlaceholders(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), ilObjUserFolderGUI\showActionConfirmation(), ilNewsForContextBlockGUI\showNews(), ilPasswordAssistanceGUI\submitAssistanceForm(), ilAccountRegistrationMail\trySendingUserDefinedAccountMail(), and updateLogin().
ilObjUser::getLoginAttempts | ( | ) |
ilObjUser::getLoginByUserId | ( | int | $a_userid | ) |
Definition at line 2130 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, ANONYMOUS_USER_ID, and null.
|
staticprivate |
Gets the username from $ilAuth, and converts it into an ILIAS login name.
Definition at line 2024 of file class.ilObjUser.php.
References $GLOBALS, $login, and ilDAVActivationChecker\_isActive().
ilObjUser::getLongitude | ( | ) |
Definition at line 1963 of file class.ilObjUser.php.
References $longitude.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLookingForHelp | ( | ) |
Definition at line 4145 of file class.ilObjUser.php.
References $interests_help_looking.
Referenced by updateMultiTextFields().
ilObjUser::getLookingForHelpAsText | ( | ) |
Get help looking for as plain text.
Definition at line 4153 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getMatriculation | ( | ) |
Definition at line 1466 of file class.ilObjUser.php.
References $matriculation.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getOfferingHelp | ( | ) |
Definition at line 4121 of file class.ilObjUser.php.
References $interests_help_offered.
Referenced by updateMultiTextFields().
ilObjUser::getOfferingHelpAsText | ( | ) |
Get help offering as plain text.
Definition at line 4129 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getOrgUnitsRepresentation | ( | ) |
Definition at line 2643 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::getPasswd | ( | ) |
Definition at line 1277 of file class.ilObjUser.php.
References $passwd.
Referenced by resetPassword(), saveAsNew(), update(), and ILIAS\Data\Password\LocalUserPasswordManager\verifyPassword().
ilObjUser::getPasswdType | ( | ) |
Definition at line 1285 of file class.ilObjUser.php.
References $passwd_type.
ilObjUser::getPasswordAge | ( | ) |
Definition at line 1900 of file class.ilObjUser.php.
References getLastPasswordChangeTS(), and ILIAS\Repository\int().
ilObjUser::getPasswordEncodingType | ( | ) |
Definition at line 225 of file class.ilObjUser.php.
References $password_encoding_type.
Referenced by resetPassword(), saveAsNew(), update(), and ILIAS\Data\Password\LocalUserPasswordManager\verifyPassword().
ilObjUser::getPasswordPolicyResetStatus | ( | ) |
Definition at line 1535 of file class.ilObjUser.php.
References $passwd_policy_reset.
Referenced by isPasswordChangeDemanded().
ilObjUser::getPasswordSalt | ( | ) |
Definition at line 235 of file class.ilObjUser.php.
References $password_salt.
Referenced by ILIAS\Data\Password\LocalUserPasswordManager\encodePassword(), resetPassword(), saveAsNew(), update(), and ILIAS\Data\Password\LocalUserPasswordManager\verifyPassword().
ilObjUser::getPCClipboardContent | ( | ) |
Add a page content item to PC clipboard (should go to another class)
Definition at line 2434 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, ilSession\get(), and ilObject\getId().
Referenced by ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager\pasteContents().
ilObjUser::getPersonalDataExportFile | ( | ) |
Definition at line 3982 of file class.ilObjUser.php.
References ilExport\_getExportDirectory(), ilFileUtils\getDir(), and ilObject\getId().
Referenced by sendPersonalDataFile().
ilObjUser::getPersonalPicturePath | ( | string | $a_size = 'small' , |
bool | $a_force_pic = false |
||
) |
string | $a_size | 'small', 'xsmall' or 'xxsmall' |
ilWACException |
Definition at line 2895 of file class.ilObjUser.php.
References ilObject\getId(), and ILIAS\Repository\int().
Referenced by ilForumAuthorInformation\getUserImagePath().
ilObjUser::getPhoneHome | ( | ) |
Definition at line 1426 of file class.ilObjUser.php.
References $phone_home.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPhoneMobile | ( | ) |
Definition at line 1436 of file class.ilObjUser.php.
References $phone_mobile.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPhoneOffice | ( | ) |
Definition at line 1416 of file class.ilObjUser.php.
References $phone_office.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPref | ( | string | $a_keyword | ) |
Definition at line 1065 of file class.ilObjUser.php.
References null.
Referenced by ilBadgeProfileGUI\getBackpackMail(), getDateFormat(), ilCalendarAgendaListGUI\getPeriod(), ilPublicUserProfileGUI\getPublicPref(), getTimeFormat(), getTimeZone(), hasDeletionFlag(), ilTutorialSupportBlockGUI\hasPublicProfile(), hasPublicProfile(), ilContainerSessionsContentGUI\initSessionPresentationLimitation(), ilStartUpGUI\processIndexPHP(), and ilValidator\purgeObjects().
ilObjUser::getProfileIncomplete | ( | ) |
Definition at line 1838 of file class.ilObjUser.php.
References $profile_incomplete, and ANONYMOUS_USER_ID.
Referenced by saveAsNew(), and update().
|
static |
Get profile status.
int[] | $a_user_ids user ids |
Definition at line 4297 of file class.ilObjUser.php.
References $DIC, $id, $ilDB, and $r.
Referenced by ilInternalLink\searchUsers().
ilObjUser::getPublicName | ( | ) |
returns firstname lastname and login if profile is public, login otherwise
Definition at line 3597 of file class.ilObjUser.php.
References getFirstname(), getLastname(), getLogin(), and hasPublicProfile().
Referenced by ilPDMailBlockGUI\getListItemForData().
ilObjUser::getSecondEmail | ( | ) |
Definition at line 1494 of file class.ilObjUser.php.
References $second_email.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getSelectedCountry | ( | ) |
Get selected country (selection drop down)
Definition at line 1406 of file class.ilObjUser.php.
References $sel_country.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getStoredActive | ( | int | $a_id | ) |
get user active state
Definition at line 1752 of file class.ilObjUser.php.
Referenced by syncActive(), and update().
ilObjUser::getStreet | ( | ) |
Definition at line 1360 of file class.ilObjUser.php.
References $street.
Referenced by ilPersonalProfileGUI\addLocationToForm(), and deleteUserDefinedFieldEntries().
ilObjUser::getTimeFormat | ( | ) |
Definition at line 1020 of file class.ilObjUser.php.
References ilCalendarSettings\_getInstance(), and getPref().
Referenced by getDateTimeFormat(), and ilIndividualAssessmentDateFormatter\getUserDateFormat().
ilObjUser::getTimeLimitFrom | ( | ) |
Definition at line 1777 of file class.ilObjUser.php.
References $time_limit_from.
Referenced by checkTimeLimit(), deleteUserDefinedFieldEntries(), ilAccountMail\replacePlaceholders(), saveAsNew(), ilAccountMail\send(), and update().
ilObjUser::getTimeLimitMessage | ( | ) |
Definition at line 1807 of file class.ilObjUser.php.
References $time_limit_message.
Referenced by update().
ilObjUser::getTimeLimitOwner | ( | ) |
Definition at line 1767 of file class.ilObjUser.php.
Referenced by saveAsNew(), and update().
ilObjUser::getTimeLimitUnlimited | ( | ) |
Definition at line 1797 of file class.ilObjUser.php.
References $time_limit_unlimited.
Referenced by checkTimeLimit(), deleteUserDefinedFieldEntries(), ilAccountMail\replacePlaceholders(), saveAsNew(), and update().
ilObjUser::getTimeLimitUntil | ( | ) |
Definition at line 1787 of file class.ilObjUser.php.
References $time_limit_until.
Referenced by checkTimeLimit(), deleteUserDefinedFieldEntries(), ilECSAppEventListener\extendAccount(), ilAccountMail\replacePlaceholders(), saveAsNew(), ilAccountMail\send(), and update().
ilObjUser::getTimeZone | ( | ) |
Definition at line 1010 of file class.ilObjUser.php.
References ilCalendarSettings\_getInstance(), and getPref().
ilObjUser::getUserDefinedData | ( | ) |
Definition at line 3006 of file class.ilObjUser.php.
Referenced by deleteUserDefinedFieldEntries().
|
static |
Definition at line 2078 of file class.ilObjUser.php.
Referenced by ilSurveySkillChangesTableGUI\getSkillLevelsForAppraisee(), ilMailAddressTypeHelperImpl\getUserIdByLogin(), ilUserImportParser\importEndTag(), ilCmiXapiStatementsGUI\initActorFilter(), ilLTIConsumerGradeSynchronizationGUI\initActorFilter(), ilLTIConsumerXapiStatementsGUI\initActorFilter(), ilObjEmployeeTalkSeriesGUI\loadRecurrenceSettings(), ilSoapUserAdministration\lookupUser(), ilEmployeeTalkTableGUI\setTalkData(), ilPasswordAssistanceGUI\submitAssistanceForm(), ilObjCourse\validateInfoSettings(), and ilUserImportParser\verifyEndTag().
|
static |
Definition at line 2086 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilObjSurvey\sendNotificationMail().
|
static |
Get ids of all users that have been inactive for at least the given period.
int | $periodInDays |
ilException |
Definition at line 3823 of file class.ilObjUser.php.
References $DIC, $res, and ILIAS\Repository\int().
Referenced by ilCronDeleteInactiveUserAccounts\run().
|
static |
Get ids of all users that have never logged in.
int | $thresholdInDays |
Definition at line 3854 of file class.ilObjUser.php.
References $DIC, $res, and ILIAS\Repository\int().
Referenced by ilCronDeleteNeverLoggedInUserAccounts\run().
|
static |
Definition at line 2110 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilPasswordAssistanceGUI\submitUsernameAssistanceForm().
|
static |
For a given set of user IDs return a subset that has a given user preference set.
Definition at line 3517 of file class.ilObjUser.php.
Referenced by ceLTIc\LTI\User\Collector\collectUsers().
ilObjUser::getUTitle | ( | ) |
Definition at line 1310 of file class.ilObjUser.php.
References $utitle.
Referenced by deleteUserDefinedFieldEntries(), and ilCmiXapiUser\getName().
ilObjUser::getZipcode | ( | ) |
Definition at line 1380 of file class.ilObjUser.php.
References $zipcode.
Referenced by deleteUserDefinedFieldEntries().
|
static |
Definition at line 1989 of file class.ilObjUser.php.
Referenced by ilAuthFrontend\checkSimultaneousLogins().
ilObjUser::hasDeletionFlag | ( | ) |
Definition at line 4066 of file class.ilObjUser.php.
References getPref().
ilObjUser::hasProfilePicture | ( | ) |
Definition at line 2908 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::hasPublicProfile | ( | ) |
returns true if public is profile, false otherwise
Definition at line 3589 of file class.ilObjUser.php.
References getPref().
Referenced by getPublicName().
ilObjUser::importPersonalData | ( | array | $a_file, |
bool | $a_profile_data, | ||
bool | $a_settings, | ||
bool | $a_notes, | ||
bool | $a_calendar | ||
) |
Definition at line 4006 of file class.ilObjUser.php.
ilObjUser::isAnonymous | ( | ) |
Definition at line 4046 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by ilUsersGalleryGUI\getActionsSection(), ilMailGlobalServices\getNewMailsData(), and ilTutorialSupportBlockGUI\isUserValid().
ilObjUser::isCurrentUserActive | ( | ) |
ilObjUser::isPasswordChangeDemanded | ( | ) |
Definition at line 1846 of file class.ilObjUser.php.
References ilSecuritySettings\_getInstance(), ilAuthUtils\_needsExternalAccountByAuthMode(), ANONYMOUS_USER_ID, getAuthMode(), getLastPasswordChangeTS(), getPasswordPolicyResetStatus(), and SYSTEM_USER_ID.
Referenced by ILIAS\Data\Password\LocalUserPasswordManager\allowPasswordChange().
ilObjUser::isPasswordExpired | ( | ) |
Definition at line 1875 of file class.ilObjUser.php.
References ilSecuritySettings\_getInstance(), ilAuthUtils\_needsExternalAccountByAuthMode(), ANONYMOUS_USER_ID, getAuthMode(), and getLastPasswordChangeTS().
Referenced by ILIAS\Data\Password\LocalUserPasswordManager\allowPasswordChange().
ilObjUser::isSelfRegistered | ( | ) |
|
static |
Definition at line 1471 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjCourseGrouping\_checkGroupingDependencies().
|
static |
lookup org unit representation
Definition at line 2637 of file class.ilObjUser.php.
Referenced by ilUserTableGUI\getItems(), ilStudyProgrammeMailTemplateContext\getSpecificPlaceholders(), and ilMemberExport\write().
ilObjUser::read | ( | ) |
Definition at line 159 of file class.ilObjUser.php.
References $data, ilObject\$db, $DIC, $ilDB, $ilErr, $r, assignData(), readMultiTextFields(), readPrefs(), readUserDefinedFields(), setLastPasswordChangeTS(), setLoginAttempts(), setPasswordPolicyResetStatus(), ilStyleDefinition\skinExists(), ilStyleDefinition\styleExists(), and ilStyleDefinition\styleExistsForSkinId().
Referenced by __construct(), and update().
|
protected |
Definition at line 4171 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\getId(), setGeneralInterests(), setLookingForHelp(), and setOfferingHelp().
Referenced by read().
ilObjUser::readPrefs | ( | ) |
Definition at line 1093 of file class.ilObjUser.php.
References $prefs.
Referenced by read().
ilObjUser::readUserDefinedFields | ( | ) |
Definition at line 3022 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by read().
ilObjUser::refreshLogin | ( | ) |
updates the login data of a 'user'
Definition at line 743 of file class.ilObjUser.php.
References ilObject\$db, $id, $ilDB, and getFirstLogin().
ilObjUser::removeDeletionFlag | ( | ) |
Definition at line 4061 of file class.ilObjUser.php.
References writePref().
ilObjUser::removeObjectFromClipboard | ( | int | $a_item_id, |
string | $a_type | ||
) |
Definition at line 2603 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, $q, and ilObject\getId().
ilObjUser::removeUserPicture | ( | bool | $a_do_update = true | ) |
Definition at line 2982 of file class.ilObjUser.php.
References getAvatarRid(), NO_AVATAR_RID, null, setAvatarRid(), setPref(), and update().
Referenced by delete().
ilObjUser::resetLastPasswordChange | ( | ) |
Definition at line 1930 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and ilObject\getId().
ilObjUser::resetOwner | ( | ) |
Definition at line 3911 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Referenced by delete().
ilObjUser::resetPassword | ( | string | $raw, |
string | $raw_retype | ||
) |
Resets the user password.
string | $raw | Password as plaintext |
string | $raw_retype | Retyped password as plaintext |
ilPasswordException | |
ilUserException |
Definition at line 780 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, ilObject\getId(), getPasswd(), getPasswordEncodingType(), and getPasswordSalt().
Referenced by ilPasswordAssistanceGUI\getAssignPasswordForm(), and ILIAS\Data\Password\LocalUserPasswordManager\verifyPassword().
ilObjUser::saveAsNew | ( | ) |
redundant data in object_data!
ilPasswordException | |
ilUserException |
Definition at line 340 of file class.ilObjUser.php.
References $active, $agree_date, $approve_date, $city, $client_ip, $country, ilObject\$db, $department, $DIC, $fax, $firstname, $gender, $hobby, $id, $ilDB, $ilErr, $inactivation_date, $institution, $lastname, $latitude, $login, $longitude, $matriculation, $passwd, $passwd_policy_reset, $phone_home, $phone_mobile, $phone_office, $referral_comment, $sel_country, $street, $utitle, $zipcode, getAuthMode(), getBirthday(), getExternalAccount(), getPasswd(), getPasswordEncodingType(), getPasswordSalt(), getProfileIncomplete(), getTimeLimitFrom(), getTimeLimitOwner(), getTimeLimitUnlimited(), getTimeLimitUntil(), ILIAS\Repository\int(), ilUtil\now(), null, setInactivationDate(), updateMultiTextFields(), and updateUserDefinedFields().
ilObjUser::sendPersonalDataFile | ( | ) |
Definition at line 3997 of file class.ilObjUser.php.
References ilExport\_getExportDirectory(), ilFileDelivery\deliverFileLegacy(), ilObject\getId(), and getPersonalDataExportFile().
ilObjUser::setActive | ( | bool | $a_active, |
int | $a_owner = 0 |
||
) |
set user active state and updates system fields appropriately
int | $a_owner | the id of the person who approved the account, defaults to 6 (root) |
Definition at line 1689 of file class.ilObjUser.php.
References null, setApproveDate(), and ilObject\setOwner().
Referenced by shibUser\create(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), ilStartUpGUI\processCode(), ilStartUpGUI\processIndexPHP(), and syncActive().
ilObjUser::setAgreeDate | ( | ?string | $a_str | ) |
Definition at line 1680 of file class.ilObjUser.php.
ilObjUser::setApproveDate | ( | ?string | $a_str | ) |
set date the user account was activated null indicates that the user has not yet been activated
Definition at line 1666 of file class.ilObjUser.php.
Referenced by setActive().
ilObjUser::setAuthMode | ( | ?string | $a_str | ) |
Definition at line 2648 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setAvatarRid | ( | ?string | $avatar_rid | ) |
Definition at line 1983 of file class.ilObjUser.php.
References $avatar_rid.
Referenced by _uploadPersonalPicture(), and removeUserPicture().
ilObjUser::setBirthday | ( | ?string | $a_birthday | ) |
Definition at line 3802 of file class.ilObjUser.php.
References IL_CAL_DATE, and null.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setCity | ( | string | $a_str | ) |
Definition at line 1365 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setClientIP | ( | string | $a_str | ) |
Definition at line 1451 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setComment | ( | string | $a_str | ) |
Definition at line 1652 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setCountry | ( | string | $a_str | ) |
Definition at line 1385 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setCurrentLanguage | ( | string | $a_val | ) |
Set current language.
Definition at line 1607 of file class.ilObjUser.php.
References ilSession\set().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\initLanguage().
ilObjUser::setDepartment | ( | string | $a_str | ) |
Definition at line 1345 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setEmail | ( | string | $a_str | ) |
Definition at line 1484 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setExternalAccount | ( | string | $a_str | ) |
Definition at line 2661 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setFax | ( | string | $a_str | ) |
Definition at line 1441 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setFirstLogin | ( | string | $a_str | ) |
Definition at line 1622 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setFirstname | ( | string | $a_str | ) |
Definition at line 1315 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setFullname | ( | ) |
builds a string with title + firstname + lastname method is used to build fullname in member variable $this->fullname.
But you may use the function in static manner.
Definition at line 1210 of file class.ilObjUser.php.
References $lastname.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setGender | ( | string | $a_str | ) |
Definition at line 1290 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setGeneralInterests | ( | ?array | $value = null | ) |
string[]|null | $value |
Definition at line 4089 of file class.ilObjUser.php.
Referenced by ilObjUserGUI\loadValuesFromForm(), and readMultiTextFields().
ilObjUser::setHobby | ( | string | $a_str | ) |
Definition at line 1504 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setInactivationDate | ( | ?string | $inactivation_date | ) |
Definition at line 4036 of file class.ilObjUser.php.
References $inactivation_date.
Referenced by assignData(), saveAsNew(), and update().
ilObjUser::setInstitution | ( | string | $a_str | ) |
Definition at line 1335 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setIsSelfRegistered | ( | bool | $status | ) |
Definition at line 4071 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLanguage | ( | string | $a_str | ) |
Definition at line 1514 of file class.ilObjUser.php.
References ilSession\clear(), and setPref().
Referenced by shibUser\createFields(), ILIAS\LearningModule\Export\LMHtmlExport\initLanguage(), and shibUser\updateFields().
ilObjUser::setLastLogin | ( | string | $a_str | ) |
Definition at line 1612 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLastname | ( | string | $a_str | ) |
Definition at line 1325 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setLastPasswordChangeToNow | ( | ) |
Definition at line 1908 of file class.ilObjUser.php.
References $DIC, $ilDB, getLastPasswordChangeTS(), and setLastPasswordChangeTS().
Referenced by shibUser\buildInstance(), and ilPasswordAssistanceGUI\getAssignPasswordForm().
ilObjUser::setLastPasswordChangeTS | ( | int | $a_last_password_change_ts | ) |
Definition at line 1525 of file class.ilObjUser.php.
Referenced by ilStartUpGUI\processIndexPHP(), read(), and setLastPasswordChangeToNow().
ilObjUser::setLastProfilePrompt | ( | string | $a_str | ) |
Definition at line 1632 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLastUpdate | ( | string | $a_str | ) |
Definition at line 1642 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLatitude | ( | ?string | $a_latitude | ) |
Definition at line 1948 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLocationZoom | ( | ?int | $a_locationzoom | ) |
Definition at line 1968 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLogin | ( | string | $a_str | ) |
Definition at line 1256 of file class.ilObjUser.php.
References ILIAS\UI\examples\Symbol\Glyph\Login\login().
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLoginAttempts | ( | int | $a_login_attempts | ) |
Definition at line 1812 of file class.ilObjUser.php.
Referenced by read().
ilObjUser::setLongitude | ( | ?string | $a_longitude | ) |
Definition at line 1958 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLookingForHelp | ( | ?array | $value = null | ) |
string[]|null | $value |
Definition at line 4137 of file class.ilObjUser.php.
Referenced by ilObjUserGUI\loadValuesFromForm(), and readMultiTextFields().
ilObjUser::setMatriculation | ( | string | $a_str | ) |
Definition at line 1461 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setOfferingHelp | ( | ?array | $value = null | ) |
string[]|null | $value |
Definition at line 4113 of file class.ilObjUser.php.
Referenced by ilObjUserGUI\loadValuesFromForm(), and readMultiTextFields().
ilObjUser::setPasswd | ( | string | $a_str, |
string | $a_type = ilObjUser::PASSWD_PLAIN |
||
) |
Definition at line 1266 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ILIAS\Data\Password\LocalUserPasswordManager\encodePassword(), and ilStartUpGUI\processIndexPHP().
ilObjUser::setPasswordEncodingType | ( | ?string | $password_encryption_type | ) |
Definition at line 230 of file class.ilObjUser.php.
Referenced by assignData(), and ILIAS\Data\Password\LocalUserPasswordManager\encodePassword().
ilObjUser::setPasswordPolicyResetStatus | ( | bool | $status | ) |
Definition at line 1540 of file class.ilObjUser.php.
Referenced by read().
ilObjUser::setPasswordSalt | ( | ?string | $password_salt | ) |
Definition at line 240 of file class.ilObjUser.php.
References $password_salt.
Referenced by assignData(), and ILIAS\Data\Password\LocalUserPasswordManager\encodePassword().
ilObjUser::setPhoneHome | ( | string | $a_str | ) |
Definition at line 1421 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setPhoneMobile | ( | string | $a_str | ) |
Definition at line 1431 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setPhoneOffice | ( | string | $a_str | ) |
Definition at line 1411 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setPref | ( | string | $a_keyword, |
?string | $a_value | ||
) |
Definition at line 1058 of file class.ilObjUser.php.
Referenced by removeUserPicture(), ilUserPrivacySettingsGUI\savePrivacySettings(), setLanguage(), ilMembershipNotifications\toggleUser(), and writePref().
ilObjUser::setProfileIncomplete | ( | bool | $a_prof_inc | ) |
Definition at line 1833 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setSecondEmail | ( | ?string | $second_email | ) |
Definition at line 1499 of file class.ilObjUser.php.
References $second_email.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setSelectedCountry | ( | string | $a_val | ) |
Set selected country (selection drop down)
Definition at line 1398 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setSkin | ( | string | $a_str | ) |
Definition at line 1757 of file class.ilObjUser.php.
ilObjUser::setStreet | ( | string | $a_str | ) |
Definition at line 1355 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setTimeLimitFrom | ( | ?int | $a_from | ) |
Definition at line 1772 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setTimeLimitMessage | ( | string | $a_time_limit_message | ) |
Definition at line 1802 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setTimeLimitOwner | ( | int | $a_owner | ) |
Definition at line 1762 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setTimeLimitUnlimited | ( | bool | $a_unlimited | ) |
Definition at line 1792 of file class.ilObjUser.php.
Referenced by ilRegistrationCode\applyAccessLimits(), assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and ilStartUpGUI\processCode().
ilObjUser::setTimeLimitUntil | ( | ?int | $a_until | ) |
Definition at line 1782 of file class.ilObjUser.php.
Referenced by ilRegistrationCode\applyAccessLimits(), assignData(), shibUser\createFields(), ilECSAppEventListener\extendAccount(), ilObjUserGUI\loadValuesFromForm(), and ilStartUpGUI\processCode().
ilObjUser::setUserDefinedData | ( | array | $a_data | ) |
Definition at line 2999 of file class.ilObjUser.php.
References $data.
Referenced by ilObjUserGUI\loadUserDefinedDataFromForm().
ilObjUser::setUTitle | ( | string | $a_str | ) |
set user title (note: don't mix up this method with setTitle() that is derived from ilObject and sets the user object's title)
Definition at line 1305 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setZipcode | ( | string | $a_str | ) |
Definition at line 1375 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::syncActive | ( | ) |
synchronizes current and stored user active values for the owner value to be set correctly, this function should only be called when an admin is approving a user account
Definition at line 1731 of file class.ilObjUser.php.
References getStoredActive(), and setActive().
Referenced by update().
|
static |
Static function removes Microsoft domain name from username webdav related.
Definition at line 2040 of file class.ilObjUser.php.
ilObjUser::update | ( | ) |
Definition at line 446 of file class.ilObjUser.php.
References $active, $agree_date, ilObject\$app_event_handler, $approve_date, $city, $client_ip, $country, ilObject\$db, $department, $DIC, $fax, $gender, $hobby, $ilDB, $ilErr, $inactivation_date, $institution, $latitude, $longitude, $matriculation, $passwd, $phone_home, $phone_mobile, $phone_office, $referral_comment, $sel_country, $street, $utitle, $zipcode, getAuthMode(), getBirthday(), getExternalAccount(), getPasswd(), getPasswordEncodingType(), getPasswordSalt(), getProfileIncomplete(), getStoredActive(), getTimeLimitFrom(), getTimeLimitMessage(), getTimeLimitOwner(), getTimeLimitUnlimited(), getTimeLimitUntil(), ILIAS\Repository\int(), ilUtil\now(), null, read(), setInactivationDate(), syncActive(), updateMultiTextFields(), ilObject\updateOwner(), updateUserDefinedFields(), and writePrefs().
Referenced by _uploadPersonalPicture(), ilECSAppEventListener\extendAccount(), ilPasswordAssistanceGUI\getAssignPasswordForm(), ilStartUpGUI\processCode(), ilStartUpGUI\processIndexPHP(), removeUserPicture(), and ilUserPrivacySettingsGUI\savePrivacySettings().
ilObjUser::updateLogin | ( | string | $a_login | ) |
update login name
string | new login |
ilDateTimeException | |
ilUserException |
Definition at line 868 of file class.ilObjUser.php.
References ilObject\$db, $DIC, Vendor\Package\$e, $ilDB, $ilSetting, ilObject\$lng, ilDatePresentation\formatDate(), ilObject\getId(), getLogin(), IL_CAL_UNIX, ILIAS\Repository\int(), ILIAS\UI\examples\Symbol\Glyph\Login\login(), null, and ilLanguage\txt().
ilObjUser::updateMultiTextFields | ( | bool | $a_create = false | ) |
Definition at line 4206 of file class.ilObjUser.php.
References $DIC, $id, $ilDB, deleteMultiTextFields(), getGeneralInterests(), ilObject\getId(), getLookingForHelp(), and getOfferingHelp().
Referenced by saveAsNew(), and update().
ilObjUser::updateUserDefinedFields | ( | ) |
Definition at line 3011 of file class.ilObjUser.php.
References ilObject\getId(), and null.
Referenced by saveAsNew(), and update().
|
static |
Definition at line 3945 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\user().
Referenced by ilInfoScreenGUI\buildPublicAccessExportButton(), ilTrQuery\filterOutUsersWithoutData(), ilExerciseManagementCollectFilesJob\getAssignmentMembersIds(), ilObjForumAccess\getCachedUserInstance(), ilIndividualAssessmentMembersTableGUI\getGradedByInformation(), and ilNewsForContextBlockGUI\showNews().
ilObjUser::writeAccepted | ( | ) |
write accept date of user agreement
Definition at line 561 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and ilObject\getId().
ilObjUser::writePref | ( | string | $a_keyword, |
string | $a_value | ||
) |
Definition at line 940 of file class.ilObjUser.php.
References setPref().
Referenced by activateDeletionFlag(), ilHelpGUI\activateTooltips(), ilSurveyEditorGUI\changeDatatypeObject(), ilPDNotesGUI\changeRelatedObject(), ilObjSurveyQuestionPoolGUI\createQuestionObject(), ilHelpGUI\deactivateTooltips(), ilContainerSessionsContentGUI\initSessionPresentationLimitation(), removeDeletionFlag(), ilSurveyParticipantsGUI\setCodeLanguageObject(), and ilPageEditorGUI\setMediaMode().
ilObjUser::writePrefs | ( | ) |
Definition at line 1002 of file class.ilObjUser.php.
Referenced by ilMembershipNotifications\toggleUser(), and update().
int ilObjUser::$active = 0 |
Definition at line 91 of file class.ilObjUser.php.
Referenced by _getUsersForFolder(), _getUsersForIds(), _getUsersForRole(), getActive(), saveAsNew(), and update().
string ilObjUser::$agree_date = null |
Definition at line 90 of file class.ilObjUser.php.
Referenced by getAgreeDate(), saveAsNew(), and update().
string ilObjUser::$approve_date = null |
Definition at line 89 of file class.ilObjUser.php.
Referenced by getApproveDate(), saveAsNew(), and update().
string ilObjUser::$auth_mode = null |
Definition at line 93 of file class.ilObjUser.php.
Referenced by getAuthMode().
|
protected |
Definition at line 119 of file class.ilObjUser.php.
Referenced by getAvatarRid(), and setAvatarRid().
|
protected |
Definition at line 71 of file class.ilObjUser.php.
Referenced by getBirthday().
string ilObjUser::$city = '' |
Definition at line 76 of file class.ilObjUser.php.
Referenced by getCity(), saveAsNew(), and update().
string ilObjUser::$client_ip = '' |
Definition at line 92 of file class.ilObjUser.php.
Referenced by getClientIP(), saveAsNew(), and update().
string ilObjUser::$country = '' |
Definition at line 78 of file class.ilObjUser.php.
Referenced by getCountry(), saveAsNew(), and update().
|
private |
Definition at line 122 of file class.ilObjUser.php.
|
protected |
Definition at line 121 of file class.ilObjUser.php.
|
protected |
Definition at line 120 of file class.ilObjUser.php.
string ilObjUser::$department = '' |
Definition at line 74 of file class.ilObjUser.php.
Referenced by getDepartment(), saveAsNew(), and update().
string ilObjUser::$email = '' |
Definition at line 84 of file class.ilObjUser.php.
Referenced by getEmail().
|
protected |
Definition at line 40 of file class.ilObjUser.php.
Referenced by getExternalAccount().
string ilObjUser::$fax = '' |
Definition at line 83 of file class.ilObjUser.php.
Referenced by getFax(), saveAsNew(), and update().
|
protected |
Definition at line 117 of file class.ilObjUser.php.
Referenced by getFirstLogin().
string ilObjUser::$firstname = '' |
Definition at line 69 of file class.ilObjUser.php.
Referenced by getFirstname(), and saveAsNew().
string ilObjUser::$fullname = '' |
Definition at line 72 of file class.ilObjUser.php.
Referenced by _lookupFullname().
string ilObjUser::$gender = '' |
Definition at line 67 of file class.ilObjUser.php.
Referenced by getGender(), saveAsNew(), and update().
string ilObjUser::$hobby = '' |
Definition at line 86 of file class.ilObjUser.php.
Referenced by getHobby(), saveAsNew(), and update().
|
protected |
Definition at line 107 of file class.ilObjUser.php.
Referenced by getInactivationDate(), saveAsNew(), setInactivationDate(), and update().
string ilObjUser::$institution = '' |
Definition at line 73 of file class.ilObjUser.php.
Referenced by getInstitution(), saveAsNew(), and update().
|
protected |
Definition at line 111 of file class.ilObjUser.php.
Referenced by getGeneralInterests().
|
protected |
Definition at line 115 of file class.ilObjUser.php.
Referenced by getLookingForHelp().
|
protected |
Definition at line 113 of file class.ilObjUser.php.
Referenced by getOfferingHelp().
|
private |
Definition at line 123 of file class.ilObjUser.php.
|
private |
Definition at line 108 of file class.ilObjUser.php.
Referenced by isSelfRegistered().
|
protected |
Definition at line 46 of file class.ilObjUser.php.
Referenced by getLastLogin().
int ilObjUser::$last_password_change_ts = 0 |
Definition at line 97 of file class.ilObjUser.php.
Referenced by getLastPasswordChangeTS().
|
protected |
Definition at line 116 of file class.ilObjUser.php.
Referenced by getLastProfilePrompt().
string ilObjUser::$lastname = '' |
Definition at line 70 of file class.ilObjUser.php.
Referenced by getLastname(), saveAsNew(), and setFullname().
string ilObjUser::$latitude = null |
Definition at line 94 of file class.ilObjUser.php.
Referenced by getLatitude(), saveAsNew(), and update().
string ilObjUser::$loc_zoom = null |
Definition at line 96 of file class.ilObjUser.php.
Referenced by getLocationZoom().
string ilObjUser::$login = '' |
Definition at line 48 of file class.ilObjUser.php.
Referenced by getLogin(), getLoginFromAuth(), shibUser\returnNewLoginName(), and saveAsNew().
int ilObjUser::$login_attempts = 0 |
Definition at line 99 of file class.ilObjUser.php.
Referenced by getLoginAttempts().
string ilObjUser::$longitude = null |
Definition at line 95 of file class.ilObjUser.php.
Referenced by getLongitude(), saveAsNew(), and update().
string ilObjUser::$matriculation = '' |
Definition at line 87 of file class.ilObjUser.php.
Referenced by getMatriculation(), saveAsNew(), and update().
|
protected |
Definition at line 102 of file class.ilObjUser.php.
|
protected |
Definition at line 109 of file class.ilObjUser.php.
|
protected |
Definition at line 49 of file class.ilObjUser.php.
Referenced by getPasswd(), saveAsNew(), and update().
|
protected |
Definition at line 98 of file class.ilObjUser.php.
Referenced by getPasswordPolicyResetStatus(), and saveAsNew().
|
protected |
Definition at line 50 of file class.ilObjUser.php.
Referenced by getPasswdType().
|
protected |
Definition at line 64 of file class.ilObjUser.php.
Referenced by getPasswordEncodingType().
|
protected |
Definition at line 66 of file class.ilObjUser.php.
Referenced by getPasswordSalt(), and setPasswordSalt().
|
staticprotected |
Definition at line 106 of file class.ilObjUser.php.
string ilObjUser::$phone_home = '' |
Definition at line 81 of file class.ilObjUser.php.
Referenced by getPhoneHome(), saveAsNew(), and update().
string ilObjUser::$phone_mobile = '' |
Definition at line 82 of file class.ilObjUser.php.
Referenced by getPhoneMobile(), saveAsNew(), and update().
string ilObjUser::$phone_office = '' |
Definition at line 80 of file class.ilObjUser.php.
Referenced by getPhoneOffice(), saveAsNew(), and update().
array ilObjUser::$prefs = [] |
Definition at line 104 of file class.ilObjUser.php.
Referenced by _getPreferences(), and readPrefs().
|
protected |
Definition at line 118 of file class.ilObjUser.php.
Referenced by getProfileIncomplete().
string ilObjUser::$referral_comment = '' |
Definition at line 88 of file class.ilObjUser.php.
Referenced by getComment(), saveAsNew(), and update().
|
protected |
Definition at line 85 of file class.ilObjUser.php.
Referenced by getSecondEmail(), and setSecondEmail().
string ilObjUser::$sel_country = '' |
Definition at line 79 of file class.ilObjUser.php.
Referenced by getSelectedCountry(), saveAsNew(), and update().
string ilObjUser::$skin = '' |
Definition at line 105 of file class.ilObjUser.php.
Referenced by __construct().
string ilObjUser::$street = '' |
Definition at line 75 of file class.ilObjUser.php.
Referenced by getStreet(), saveAsNew(), and update().
|
protected |
Definition at line 44 of file class.ilObjUser.php.
Referenced by getTimeLimitFrom().
|
protected |
Definition at line 41 of file class.ilObjUser.php.
Referenced by getTimeLimitMessage().
|
protected |
Definition at line 45 of file class.ilObjUser.php.
|
protected |
Definition at line 42 of file class.ilObjUser.php.
Referenced by getTimeLimitUnlimited().
|
protected |
Definition at line 43 of file class.ilObjUser.php.
Referenced by getTimeLimitUntil().
array ilObjUser::$user_defined_data = [] |
Definition at line 100 of file class.ilObjUser.php.
string ilObjUser::$utitle = '' |
Definition at line 68 of file class.ilObjUser.php.
Referenced by getUTitle(), saveAsNew(), and update().
string ilObjUser::$zipcode = '' |
Definition at line 77 of file class.ilObjUser.php.
Referenced by getZipcode(), saveAsNew(), and update().
const ilObjUser::NO_AVATAR_RID = '-' |
Definition at line 37 of file class.ilObjUser.php.
Referenced by _uploadPersonalPicture(), copyProfilePicturesToDirectory(), and removeUserPicture().
const ilObjUser::PASSWD_CRYPTED = 'crypted' |
Definition at line 39 of file class.ilObjUser.php.
Referenced by shibUser\createFields(), ilAuthProviderECS\createUser(), ilAuthProviderLTI\createUser(), ILIAS\Data\Password\LocalUserPasswordManager\encodePassword(), ilAuthProviderSoap\handleSoapAuth(), ilUserImportParser\importEndTag(), LocalUserPasswordTest\testPasswordManagerEncodesRawPasswordWithoutSalt(), LocalUserPasswordTest\testPasswordManagerEncodesRawPasswordWithSalt(), and ilUserImportParser\verifyEndTag().
const ilObjUser::PASSWD_PLAIN = 'plain' |
Definition at line 38 of file class.ilObjUser.php.
Referenced by ilAuthProviderSoap\handleSoapAuth(), ilUserImportParser\importEndTag(), ilObjUserGUI\loadUserDefinedDataFromForm(), ilStartUpGUI\processIndexPHP(), ilObjUserGUI\saveObject(), and ilUserImportParser\verifyEndTag().