ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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 () | |
exportPersonalData () | |
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) | |
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 $a_user_id, bool $a_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 34 of file class.ilObjUser.php.
ilObjUser::__construct | ( | int | $a_user_id = 0 , |
bool | $a_call_by_reference = false |
||
) |
Definition at line 124 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 2746 of file class.ilObjUser.php.
References ilObject\$db, $GLOBALS, $r, $res, ilAuthUtils\_getAuthModeName(), ilDBInterface\fetchAssoc(), null, and ilDBInterface\queryF().
Referenced by ilAuthProviderCAS\doAuthentication(), 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 967 of file class.ilObjUser.php.
|
static |
Definition at line 951 of file class.ilObjUser.php.
|
static |
Checks whether the passed loginname already exists in history.
Definition at line 812 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 3270 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 3707 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 2308 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 2184 of file class.ilObjUser.php.
References $DIC, $ilDB, $q, $r, ilObject\$ref_id, ilSession\get(), and null.
|
static |
Definition at line 2919 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 2678 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 3212 of file class.ilObjUser.php.
References null.
Referenced by ilPDNewsBlockGUI\initPrivateSettingsForm(), and ilPDNewsBlockGUI\showFeedUrl().
|
static |
Definition at line 2617 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 835 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjUserGUI\initForm().
|
static |
|
static |
Definition at line 3533 of file class.ilObjUser.php.
Referenced by ilAuthFrontend\checkExceededLoginAttempts(), and ilAuthFrontend\handleLoginAttempts().
|
static |
Definition at line 2283 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 2808 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 2930 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 3486 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 3439 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 3876 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 2584 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 3334 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 3378 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 3391 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 3291 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 3632 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 3546 of file class.ilObjUser.php.
Referenced by ilAuthFrontend\handleLoginAttempts().
|
static |
Definition at line 4039 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(), and ilBuddySystemGUI\transitionAsyncCommand().
|
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 3240 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 566 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and null.
|
static |
Definition at line 1711 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMailSearchObjectGUI\cancel(), ilLearningSequenceParticipantsTableGUI\fillRow(), ILIAS\Contact\Provider\ContactNotificationProvider\getNotifications(), and ilBuddySystemRelationsTableGUI\initFilter().
|
static |
Definition at line 2737 of file class.ilObjUser.php.
Referenced by ilECSAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), and ilLTIAppEventListener\handleUpdateStatus().
|
static |
Definition at line 623 of file class.ilObjUser.php.
|
static |
Definition at line 613 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 683 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 3175 of file class.ilObjUser.php.
References $DIC, $ilDB, and null.
Referenced by ilUserFeedWriter\__construct(), ilPDNewsBlockGUI\showFeedUrl(), and ilNewsForContextBlockGUI\showFeedUrl().
|
static |
lookup fields (deprecated; use more specific methods instead)
Definition at line 663 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ILIAS\Test\ExportImport\ResultsExportExcel\getUserFieldsForUserID(), and ilCertificateUserObjectHelper\lookupFields().
|
static |
Definition at line 731 of file class.ilObjUser.php.
Referenced by ilFirstLoginLearningHistoryProvider\getEntries().
|
static |
Definition at line 586 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(), ilObjDataCollection\doUpdate(), 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 618 of file class.ilObjUser.php.
Referenced by ilMail\getSalutation().
|
static |
string|string[] | $a_user_str |
Definition at line 692 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(), ilAuthProviderCAS\doAuthentication(), 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(), ilAuthProviderCAS\handleLDAPDataSource(), 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 1546 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\$lng, $q, $r, and ilLanguage\getDefaultLanguage().
Referenced by ilLanguageFactory\_getLanguageOfUser().
|
static |
Definition at line 726 of file class.ilObjUser.php.
Referenced by ilCronDeleteInactiveUserReminderMail\removeEntriesFromTableIfLastLoginIsNewer().
|
static |
Definition at line 678 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(), ilObjSurvey\checkReminder(), ilWorkspaceUserActionProvider\collectActionsForTargetUser(), ilChatUserActionProvider\collectActionsForTargetUser(), ilOrgUnitUserAssignmentGUI\confirmRemove(), ilForumMailEventNotificationSender\createMailValueObjectsWithAttachments(), ilForumMailEventNotificationSender\createMailValueObjectWithoutAttachments(), ilObjRole\delete(), ilStartUpGUI\doStandardAuthentication(), ilObjDataCollection\doUpdate(), ilObjSessionGUI\eventsListObject(), ilSessionOverviewGUI\exportCSV(), ilStudyProgrammeIndividualPlanTableGUI\fetchData(), ilDclBaseRecordModel\fillRecordFieldExcelExport(), ilPDNewsTableGUI\fillRow(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilAccessibilitySupportContactsGUI\getContactLogins(), ilAttendanceList\getHTML(), ILIAS\Test\ExportImport\CertificateExport\getLoginsForIds(), ilConsultationHourAppointments\getManagedUsers(), ilConsultationHourAppointments\getManager(), ilStudyProgrammeMailMemberSearchGUI\getProcessData(), ilStudyProgrammeMailTemplateContext\getSpecificPlaceholders(), ilObjSurvey\getUserDataFromActiveId(), ilForumSettingsGUI\getUserNotificationTableData(), ilInternalLinkGUI\getUserSearchResult(), ilUserClipboard\getValidatedContent(), ilObjUserGUI\getValues(), ilAuthFrontend\handleAuthenticationSuccess(), ilCalendarAppointmentGUI\initForm(), 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(), ilContactGUI\showContacts(), ilMailSearchGUI\showResults(), ilMailFolderGUI\showUser(), ilContactGUI\submitInvitation(), ILIAS\LegalDocuments\Provide\ProvideHistory\table(), ilBuddySystemGUI\transitionAsyncCommand(), ilBuddySystemGUI\transitionCommand(), ilUserImportParser\verifyEndTag(), and ilPCParagraph\xml2output().
|
static |
lookup user name
Definition at line 632 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\Exercise\Submission\SubmissionManager\getDirectoryNameFromUserData(), ilExSubmission\getDirectoryNameFromUserData(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\getFeedbackTitle(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackZipRepository\getFiles(), ilIndividualAssessmentMembersTableGUI\getFullNameFor(), ilAttendanceList\getHTML(), ilSurveyParticipantsTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilExSubmission\getLastDownloadTime(), ILIAS\Test\Logging\TestLogViewer\getLegacyLogExportForObjId(), ilBookingParticipant\getList(), ILIAS\BookingManager\Reservations\ReservationDBRepository\getListByDate(), ilExAssignment\getMemberListData(), ilContSkillMemberTableGUI\getMembers(), 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(), ilForumSettingsGUI\getUserNotificationTableData(), ilObjStudyProgrammeAutoCategoriesGUI\getUserRepresentation(), ilObjStudyProgrammeAutoMembershipsGUI\getUserRepresentation(), ilExerciseXMLWriter\handleAssignmentMembers(), ilWorkspaceShareTableGUI\importData(), ilLOMemberTestResultTableGUI\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 1073 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(), ilBuddySystemRelationsTableGUI\fillRow(), ilMail\formatNamesForOutput(), ilSessionReminder\getEffectiveLeadTime(), ilBuddySystemLinkButton\getHtml(), ilUserUtil\getProfileLink(), ilTutorialSupportBlockGUI\hasContactEnabled(), ilBuddySystemGUI\requestCommand(), ilMailSearchGUI\showResults(), and ilBuddySystemGUI\transitionAsyncCommand().
|
static |
Definition at line 2329 of file class.ilObjUser.php.
References $DIC, $ilDB, and $q.
Referenced by ilSystemStyleOverviewGUI\moveUserStyles().
|
static |
int[] | $a_user_ids |
Definition at line 2165 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 3225 of file class.ilObjUser.php.
Referenced by ilPDNewsBlockGUI\changeFeedSettings().
|
static |
Definition at line 3563 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilUtil\now().
Referenced by ilAuthFrontend\handleLoginAttempts().
|
static |
Definition at line 2709 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 2860 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 3756 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilStartUpGUI\processIndexPHP().
|
static |
Definition at line 1583 of file class.ilObjUser.php.
Referenced by ilAuthProviderSaml\handleSamlAuth().
|
static |
Definition at line 1567 of file class.ilObjUser.php.
|
static |
|
static |
Definition at line 980 of file class.ilObjUser.php.
Referenced by ilBadgeProfileGUI\saveSettings(), and ilChatroomViewGUI\toggleAutoMessageDisplayState().
ilObjUser::activateDeletionFlag | ( | ) |
Definition at line 4044 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 2367 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 2413 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 247 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 4151 of file class.ilObjUser.php.
Referenced by getGeneralInterestsAsText(), getLookingForHelpAsText(), and getOfferingHelpAsText().
ilObjUser::checkTimeLimit | ( | ) |
Definition at line 1823 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 2012 of file class.ilObjUser.php.
References $id.
ilObjUser::clipboardDeleteAll | ( | ) |
Definition at line 2495 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
Referenced by delete().
ilObjUser::clipboardDeleteObjectsOfType | ( | string | $a_type | ) |
Definition at line 2483 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 2464 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
|
static |
Definition at line 2943 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 1099 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 4234 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
Referenced by delete(), and updateMultiTextFields().
ilObjUser::deletePref | ( | string | $a_keyword | ) |
Definition at line 946 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::deleteUserDefinedFieldEntries | ( | ) |
Definition at line 3029 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 1068 of file class.ilObjUser.php.
ilObjUser::exportPersonalData | ( | ) |
Definition at line 3954 of file class.ilObjUser.php.
References ilObject\$title, ilExport\_getExportDirectory(), ilFileUtils\delDir(), ilObject\getId(), getLastname(), and getLogin().
|
static |
Definition at line 4248 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilPublicUserProfileGUI\getAutocompleteResult().
ilObjUser::getActive | ( | ) |
Definition at line 1706 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 2654 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 2914 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by ilPDMailBlockGUI\getListItemForData().
ilObjUser::getAvatarRid | ( | ) |
Definition at line 1979 of file class.ilObjUser.php.
References $avatar_rid.
Referenced by _uploadPersonalPicture(), copyProfilePicturesToDirectory(), and removeUserPicture().
ilObjUser::getBirthday | ( | ) |
Definition at line 3806 of file class.ilObjUser.php.
References $birthday.
Referenced by saveAsNew(), and update().
ilObjUser::getCity | ( | ) |
Definition at line 1371 of file class.ilObjUser.php.
References $city.
Referenced by ilPersonalProfileGUI\addLocationToForm(), and deleteUserDefinedFieldEntries().
ilObjUser::getClientIP | ( | ) |
Definition at line 1457 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 2553 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 2508 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 1658 of file class.ilObjUser.php.
References $referral_comment.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getCountry | ( | ) |
Definition at line 1391 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 1600 of file class.ilObjUser.php.
References ilSession\get().
ilObjUser::getDateFormat | ( | ) |
Definition at line 1028 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(), and ilIndividualAssessmentDateFormatter\getUserDateFormat().
ilObjUser::getDateTimeFormat | ( | ) |
Definition at line 1048 of file class.ilObjUser.php.
References getDateFormat(), getTimeFormat(), and ilCalendarSettings\TIME_FORMAT_24.
ilObjUser::getDepartment | ( | ) |
Definition at line 1351 of file class.ilObjUser.php.
References $department.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getEmail | ( | ) |
Definition at line 1490 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 2667 of file class.ilObjUser.php.
References $ext_account.
Referenced by ilCmiXapiUser\getIdent(), ilCmiXapiUser\getIdentAsId(), ilECSAppEventListener\handleMembership(), saveAsNew(), and update().
ilObjUser::getFax | ( | ) |
Definition at line 1447 of file class.ilObjUser.php.
References $fax.
Referenced by deleteUserDefinedFieldEntries().
|
static |
Get first letters of all lastnames.
int[] | $user_ids |
Definition at line 3918 of file class.ilObjUser.php.
References $DIC, $ilDB, $q, ANONYMOUS_USER_ID, and null.
ilObjUser::getFirstLogin | ( | ) |
Definition at line 1628 of file class.ilObjUser.php.
References $first_login.
Referenced by refreshLogin().
ilObjUser::getFirstname | ( | ) |
Definition at line 1321 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 1232 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(), ilObjSurvey\saveAuthorToMetadata(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), and ilObjUserFolderGUI\showActionConfirmation().
ilObjUser::getGender | ( | ) |
Definition at line 1296 of file class.ilObjUser.php.
References $gender.
Referenced by deleteUserDefinedFieldEntries(), ilObjSurvey\getUserDataFromActiveId(), and ilAccountMail\replacePlaceholders().
ilObjUser::getGeneralInterests | ( | ) |
Definition at line 4085 of file class.ilObjUser.php.
References $interests_general.
Referenced by updateMultiTextFields().
ilObjUser::getGeneralInterestsAsText | ( | ) |
Get general interests as plain text.
Definition at line 4093 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getHobby | ( | ) |
Definition at line 1510 of file class.ilObjUser.php.
References $hobby.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getInactivationDate | ( | ) |
ilObjUser::getInstitution | ( | ) |
Definition at line 1341 of file class.ilObjUser.php.
References $institution.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getLanguage | ( | ) |
Definition at line 1521 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 1618 of file class.ilObjUser.php.
References $last_login.
Referenced by ilObjUserFolderGUI\showActionConfirmation().
ilObjUser::getLastname | ( | ) |
Definition at line 1331 of file class.ilObjUser.php.
References $lastname.
Referenced by ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilMailSearchObjectGUI\cancel(), ilExerciseManagementGUI\collectFeedbackDataFromPeer(), ilObjSCORMLearningModuleGUI\deleteTrackingForUser(), deleteUserDefinedFieldEntries(), exportPersonalData(), ilCmiXapiUser\getName(), getPublicName(), ilExerciseManagementGUI\getReportPanel(), ilObjSurvey\getUserDataFromActiveId(), ilRepositorySearchGUI\initFormSearch(), ilAccountMail\replacePlaceholders(), and shibUser\returnNewLoginName().
ilObjUser::getLastPasswordChangeTS | ( | ) |
Definition at line 1531 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 1954 of file class.ilObjUser.php.
References $latitude.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLocationZoom | ( | ) |
Definition at line 1974 of file class.ilObjUser.php.
References $loc_zoom.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLogin | ( | ) |
Definition at line 1262 of file class.ilObjUser.php.
References $login.
Referenced by ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilMailSearchObjectGUI\cancel(), shibUser\create(), delete(), deleteUserDefinedFieldEntries(), exportPersonalData(), 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 2131 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 2025 of file class.ilObjUser.php.
References $GLOBALS, $login, and ilDAVActivationChecker\_isActive().
ilObjUser::getLongitude | ( | ) |
Definition at line 1964 of file class.ilObjUser.php.
References $longitude.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLookingForHelp | ( | ) |
Definition at line 4133 of file class.ilObjUser.php.
References $interests_help_looking.
Referenced by updateMultiTextFields().
ilObjUser::getLookingForHelpAsText | ( | ) |
Get help looking for as plain text.
Definition at line 4141 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getMatriculation | ( | ) |
Definition at line 1467 of file class.ilObjUser.php.
References $matriculation.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getOfferingHelp | ( | ) |
Definition at line 4109 of file class.ilObjUser.php.
References $interests_help_offered.
Referenced by updateMultiTextFields().
ilObjUser::getOfferingHelpAsText | ( | ) |
Get help offering as plain text.
Definition at line 4117 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getOrgUnitsRepresentation | ( | ) |
Definition at line 2644 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::getPasswd | ( | ) |
Definition at line 1278 of file class.ilObjUser.php.
References $passwd.
Referenced by resetPassword(), saveAsNew(), update(), and ILIAS\Data\Password\LocalUserPasswordManager\verifyPassword().
ilObjUser::getPasswdType | ( | ) |
Definition at line 1286 of file class.ilObjUser.php.
References $passwd_type.
ilObjUser::getPasswordAge | ( | ) |
Definition at line 1901 of file class.ilObjUser.php.
References getLastPasswordChangeTS(), and ILIAS\Repository\int().
ilObjUser::getPasswordEncodingType | ( | ) |
Definition at line 223 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 1536 of file class.ilObjUser.php.
References $passwd_policy_reset.
Referenced by isPasswordChangeDemanded().
ilObjUser::getPasswordSalt | ( | ) |
Definition at line 233 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 2435 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 3970 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 2896 of file class.ilObjUser.php.
References ilObject\getId(), and ILIAS\Repository\int().
Referenced by ilForumAuthorInformation\getUserImagePath().
ilObjUser::getPhoneHome | ( | ) |
Definition at line 1427 of file class.ilObjUser.php.
References $phone_home.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPhoneMobile | ( | ) |
Definition at line 1437 of file class.ilObjUser.php.
References $phone_mobile.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPhoneOffice | ( | ) |
Definition at line 1417 of file class.ilObjUser.php.
References $phone_office.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPref | ( | string | $a_keyword | ) |
Definition at line 1063 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 1839 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 4285 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 3591 of file class.ilObjUser.php.
References getFirstname(), getLastname(), getLogin(), and hasPublicProfile().
Referenced by ilPDMailBlockGUI\getListItemForData().
ilObjUser::getSecondEmail | ( | ) |
Definition at line 1495 of file class.ilObjUser.php.
References $second_email.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getSelectedCountry | ( | ) |
Get selected country (selection drop down)
Definition at line 1407 of file class.ilObjUser.php.
References $sel_country.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getStoredActive | ( | int | $a_id | ) |
get user active state
Definition at line 1753 of file class.ilObjUser.php.
Referenced by syncActive(), and update().
ilObjUser::getStreet | ( | ) |
Definition at line 1361 of file class.ilObjUser.php.
References $street.
Referenced by ilPersonalProfileGUI\addLocationToForm(), and deleteUserDefinedFieldEntries().
ilObjUser::getTimeFormat | ( | ) |
Definition at line 1018 of file class.ilObjUser.php.
References ilCalendarSettings\_getInstance(), and getPref().
Referenced by getDateTimeFormat(), and ilIndividualAssessmentDateFormatter\getUserDateFormat().
ilObjUser::getTimeLimitFrom | ( | ) |
Definition at line 1778 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 1808 of file class.ilObjUser.php.
References $time_limit_message.
Referenced by update().
ilObjUser::getTimeLimitOwner | ( | ) |
Definition at line 1768 of file class.ilObjUser.php.
Referenced by saveAsNew(), and update().
ilObjUser::getTimeLimitUnlimited | ( | ) |
Definition at line 1798 of file class.ilObjUser.php.
References $time_limit_unlimited.
Referenced by checkTimeLimit(), deleteUserDefinedFieldEntries(), ilAccountMail\replacePlaceholders(), saveAsNew(), and update().
ilObjUser::getTimeLimitUntil | ( | ) |
Definition at line 1788 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 1008 of file class.ilObjUser.php.
References ilCalendarSettings\_getInstance(), and getPref().
ilObjUser::getUserDefinedData | ( | ) |
Definition at line 3007 of file class.ilObjUser.php.
Referenced by deleteUserDefinedFieldEntries().
|
static |
Definition at line 2079 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 2087 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 3817 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 3848 of file class.ilObjUser.php.
References $DIC, $res, and ILIAS\Repository\int().
Referenced by ilCronDeleteNeverLoggedInUserAccounts\run().
|
static |
Definition at line 2111 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 3511 of file class.ilObjUser.php.
Referenced by ceLTIc\LTI\User\Collector\collectUsers().
ilObjUser::getUTitle | ( | ) |
Definition at line 1311 of file class.ilObjUser.php.
References $utitle.
Referenced by deleteUserDefinedFieldEntries(), and ilCmiXapiUser\getName().
ilObjUser::getZipcode | ( | ) |
Definition at line 1381 of file class.ilObjUser.php.
References $zipcode.
Referenced by deleteUserDefinedFieldEntries().
|
static |
Definition at line 1990 of file class.ilObjUser.php.
Referenced by ilAuthFrontend\checkSimultaneousLogins().
ilObjUser::hasDeletionFlag | ( | ) |
Definition at line 4054 of file class.ilObjUser.php.
References getPref().
ilObjUser::hasProfilePicture | ( | ) |
Definition at line 2909 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::hasPublicProfile | ( | ) |
returns true if public is profile, false otherwise
Definition at line 3583 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 3994 of file class.ilObjUser.php.
ilObjUser::isAnonymous | ( | ) |
Definition at line 4034 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by ilUsersGalleryGUI\getActionsSection(), ilMailGlobalServices\getNewMailsData(), and ilTutorialSupportBlockGUI\isUserValid().
ilObjUser::isCurrentUserActive | ( | ) |
ilObjUser::isPasswordChangeDemanded | ( | ) |
Definition at line 1847 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 1876 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 1472 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 2638 of file class.ilObjUser.php.
Referenced by ilUserTableGUI\getItems(), ilStudyProgrammeMailTemplateContext\getSpecificPlaceholders(), and ilMemberExport\write().
ilObjUser::read | ( | ) |
Definition at line 157 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 4159 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\getId(), setGeneralInterests(), setLookingForHelp(), and setOfferingHelp().
Referenced by read().
ilObjUser::readPrefs | ( | ) |
Definition at line 1091 of file class.ilObjUser.php.
References $prefs.
Referenced by read().
ilObjUser::readUserDefinedFields | ( | ) |
Definition at line 3023 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by read().
ilObjUser::refreshLogin | ( | ) |
updates the login data of a 'user'
Definition at line 741 of file class.ilObjUser.php.
References ilObject\$db, $id, $ilDB, and getFirstLogin().
ilObjUser::removeDeletionFlag | ( | ) |
Definition at line 4049 of file class.ilObjUser.php.
References writePref().
ilObjUser::removeObjectFromClipboard | ( | int | $a_item_id, |
string | $a_type | ||
) |
Definition at line 2604 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, $q, and ilObject\getId().
ilObjUser::removeUserPicture | ( | bool | $a_do_update = true | ) |
Definition at line 2983 of file class.ilObjUser.php.
References getAvatarRid(), NO_AVATAR_RID, null, setAvatarRid(), setPref(), and update().
Referenced by delete().
ilObjUser::resetLastPasswordChange | ( | ) |
Definition at line 1931 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and ilObject\getId().
ilObjUser::resetOwner | ( | ) |
Definition at line 3905 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 778 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 338 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 3985 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 1690 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 1681 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 1667 of file class.ilObjUser.php.
Referenced by setActive().
ilObjUser::setAuthMode | ( | ?string | $a_str | ) |
Definition at line 2649 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setAvatarRid | ( | ?string | $avatar_rid | ) |
Definition at line 1984 of file class.ilObjUser.php.
References $avatar_rid.
Referenced by _uploadPersonalPicture(), and removeUserPicture().
ilObjUser::setBirthday | ( | ?string | $a_birthday | ) |
Definition at line 3796 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 1366 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setClientIP | ( | string | $a_str | ) |
Definition at line 1452 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setComment | ( | string | $a_str | ) |
Definition at line 1653 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setCountry | ( | string | $a_str | ) |
Definition at line 1386 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 1608 of file class.ilObjUser.php.
References ilSession\set().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\initLanguage().
ilObjUser::setDepartment | ( | string | $a_str | ) |
Definition at line 1346 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setEmail | ( | string | $a_str | ) |
Definition at line 1485 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setExternalAccount | ( | string | $a_str | ) |
Definition at line 2662 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setFax | ( | string | $a_str | ) |
Definition at line 1442 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setFirstLogin | ( | string | $a_str | ) |
Definition at line 1623 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setFirstname | ( | string | $a_str | ) |
Definition at line 1316 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 1211 of file class.ilObjUser.php.
References $lastname.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setGender | ( | string | $a_str | ) |
Definition at line 1291 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 4077 of file class.ilObjUser.php.
Referenced by ilObjUserGUI\loadValuesFromForm(), and readMultiTextFields().
ilObjUser::setHobby | ( | string | $a_str | ) |
Definition at line 1505 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setInactivationDate | ( | ?string | $inactivation_date | ) |
Definition at line 4024 of file class.ilObjUser.php.
References $inactivation_date.
Referenced by assignData(), saveAsNew(), and update().
ilObjUser::setInstitution | ( | string | $a_str | ) |
Definition at line 1336 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setIsSelfRegistered | ( | bool | $status | ) |
Definition at line 4059 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLanguage | ( | string | $a_str | ) |
Definition at line 1515 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 1613 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLastname | ( | string | $a_str | ) |
Definition at line 1326 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setLastPasswordChangeToNow | ( | ) |
Definition at line 1909 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 1526 of file class.ilObjUser.php.
Referenced by ilStartUpGUI\processIndexPHP(), read(), and setLastPasswordChangeToNow().
ilObjUser::setLastProfilePrompt | ( | string | $a_str | ) |
Definition at line 1633 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLastUpdate | ( | string | $a_str | ) |
Definition at line 1643 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLatitude | ( | ?string | $a_latitude | ) |
Definition at line 1949 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLocationZoom | ( | ?int | $a_locationzoom | ) |
Definition at line 1969 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLogin | ( | string | $a_str | ) |
Definition at line 1257 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 1813 of file class.ilObjUser.php.
Referenced by read().
ilObjUser::setLongitude | ( | ?string | $a_longitude | ) |
Definition at line 1959 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLookingForHelp | ( | ?array | $value = null | ) |
string[]|null | $value |
Definition at line 4125 of file class.ilObjUser.php.
Referenced by ilObjUserGUI\loadValuesFromForm(), and readMultiTextFields().
ilObjUser::setMatriculation | ( | string | $a_str | ) |
Definition at line 1462 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 4101 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 1267 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 228 of file class.ilObjUser.php.
Referenced by assignData(), and ILIAS\Data\Password\LocalUserPasswordManager\encodePassword().
ilObjUser::setPasswordPolicyResetStatus | ( | bool | $status | ) |
Definition at line 1541 of file class.ilObjUser.php.
Referenced by read().
ilObjUser::setPasswordSalt | ( | ?string | $password_salt | ) |
Definition at line 238 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 1422 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setPhoneMobile | ( | string | $a_str | ) |
Definition at line 1432 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setPhoneOffice | ( | string | $a_str | ) |
Definition at line 1412 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 1056 of file class.ilObjUser.php.
Referenced by removeUserPicture(), ilUserPrivacySettingsGUI\savePrivacySettings(), setLanguage(), ilMembershipNotifications\toggleUser(), and writePref().
ilObjUser::setProfileIncomplete | ( | bool | $a_prof_inc | ) |
Definition at line 1834 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setSecondEmail | ( | ?string | $second_email | ) |
Definition at line 1500 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 1399 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setSkin | ( | string | $a_str | ) |
Definition at line 1758 of file class.ilObjUser.php.
ilObjUser::setStreet | ( | string | $a_str | ) |
Definition at line 1356 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setTimeLimitFrom | ( | ?int | $a_from | ) |
Definition at line 1773 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setTimeLimitMessage | ( | string | $a_time_limit_message | ) |
Definition at line 1803 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setTimeLimitOwner | ( | int | $a_owner | ) |
Definition at line 1763 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setTimeLimitUnlimited | ( | bool | $a_unlimited | ) |
Definition at line 1793 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 1783 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 3000 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 1306 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setZipcode | ( | string | $a_str | ) |
Definition at line 1376 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 1732 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 2041 of file class.ilObjUser.php.
ilObjUser::update | ( | ) |
Definition at line 444 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 866 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 4194 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 3012 of file class.ilObjUser.php.
References ilObject\getId(), and null.
Referenced by saveAsNew(), and update().
|
static |
Definition at line 3939 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
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 559 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and ilObject\getId().
ilObjUser::writePref | ( | string | $a_keyword, |
string | $a_value | ||
) |
Definition at line 938 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 1000 of file class.ilObjUser.php.
Referenced by ilMembershipNotifications\toggleUser(), and update().
int ilObjUser::$active = 0 |
Definition at line 90 of file class.ilObjUser.php.
Referenced by _getUsersForFolder(), _getUsersForIds(), _getUsersForRole(), getActive(), saveAsNew(), and update().
string ilObjUser::$agree_date = null |
Definition at line 89 of file class.ilObjUser.php.
Referenced by getAgreeDate(), saveAsNew(), and update().
string ilObjUser::$approve_date = null |
Definition at line 88 of file class.ilObjUser.php.
Referenced by getApproveDate(), saveAsNew(), and update().
string ilObjUser::$auth_mode = null |
Definition at line 92 of file class.ilObjUser.php.
Referenced by getAuthMode().
|
protected |
Definition at line 118 of file class.ilObjUser.php.
Referenced by getAvatarRid(), and setAvatarRid().
|
protected |
Definition at line 70 of file class.ilObjUser.php.
Referenced by getBirthday().
string ilObjUser::$city = '' |
Definition at line 75 of file class.ilObjUser.php.
Referenced by getCity(), saveAsNew(), and update().
string ilObjUser::$client_ip = '' |
Definition at line 91 of file class.ilObjUser.php.
Referenced by getClientIP(), saveAsNew(), and update().
string ilObjUser::$country = '' |
Definition at line 77 of file class.ilObjUser.php.
Referenced by getCountry(), saveAsNew(), and update().
|
private |
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 73 of file class.ilObjUser.php.
Referenced by getDepartment(), saveAsNew(), and update().
string ilObjUser::$email = '' |
Definition at line 83 of file class.ilObjUser.php.
Referenced by getEmail().
|
protected |
Definition at line 39 of file class.ilObjUser.php.
Referenced by getExternalAccount().
string ilObjUser::$fax = '' |
Definition at line 82 of file class.ilObjUser.php.
Referenced by getFax(), saveAsNew(), and update().
|
protected |
Definition at line 116 of file class.ilObjUser.php.
Referenced by getFirstLogin().
string ilObjUser::$firstname = '' |
Definition at line 68 of file class.ilObjUser.php.
Referenced by getFirstname(), and saveAsNew().
string ilObjUser::$fullname = '' |
Definition at line 71 of file class.ilObjUser.php.
Referenced by _lookupFullname().
string ilObjUser::$gender = '' |
Definition at line 66 of file class.ilObjUser.php.
Referenced by getGender(), saveAsNew(), and update().
string ilObjUser::$hobby = '' |
Definition at line 85 of file class.ilObjUser.php.
Referenced by getHobby(), saveAsNew(), and update().
|
protected |
Definition at line 106 of file class.ilObjUser.php.
Referenced by getInactivationDate(), saveAsNew(), setInactivationDate(), and update().
string ilObjUser::$institution = '' |
Definition at line 72 of file class.ilObjUser.php.
Referenced by getInstitution(), saveAsNew(), and update().
|
protected |
Definition at line 110 of file class.ilObjUser.php.
Referenced by getGeneralInterests().
|
protected |
Definition at line 114 of file class.ilObjUser.php.
Referenced by getLookingForHelp().
|
protected |
Definition at line 112 of file class.ilObjUser.php.
Referenced by getOfferingHelp().
|
private |
Definition at line 122 of file class.ilObjUser.php.
|
private |
Definition at line 107 of file class.ilObjUser.php.
Referenced by isSelfRegistered().
|
protected |
Definition at line 45 of file class.ilObjUser.php.
Referenced by getLastLogin().
int ilObjUser::$last_password_change_ts = 0 |
Definition at line 96 of file class.ilObjUser.php.
Referenced by getLastPasswordChangeTS().
|
protected |
Definition at line 115 of file class.ilObjUser.php.
Referenced by getLastProfilePrompt().
string ilObjUser::$lastname = '' |
Definition at line 69 of file class.ilObjUser.php.
Referenced by getLastname(), saveAsNew(), and setFullname().
string ilObjUser::$latitude = null |
Definition at line 93 of file class.ilObjUser.php.
Referenced by getLatitude(), saveAsNew(), and update().
string ilObjUser::$loc_zoom = null |
Definition at line 95 of file class.ilObjUser.php.
Referenced by getLocationZoom().
string ilObjUser::$login = '' |
Definition at line 47 of file class.ilObjUser.php.
Referenced by getLogin(), getLoginFromAuth(), shibUser\returnNewLoginName(), and saveAsNew().
int ilObjUser::$login_attempts = 0 |
Definition at line 98 of file class.ilObjUser.php.
Referenced by getLoginAttempts().
string ilObjUser::$longitude = null |
Definition at line 94 of file class.ilObjUser.php.
Referenced by getLongitude(), saveAsNew(), and update().
string ilObjUser::$matriculation = '' |
Definition at line 86 of file class.ilObjUser.php.
Referenced by getMatriculation(), saveAsNew(), and update().
|
protected |
Definition at line 101 of file class.ilObjUser.php.
|
protected |
Definition at line 108 of file class.ilObjUser.php.
|
protected |
Definition at line 48 of file class.ilObjUser.php.
Referenced by getPasswd(), saveAsNew(), and update().
|
protected |
Definition at line 97 of file class.ilObjUser.php.
Referenced by getPasswordPolicyResetStatus(), and saveAsNew().
|
protected |
Definition at line 49 of file class.ilObjUser.php.
Referenced by getPasswdType().
|
protected |
Definition at line 63 of file class.ilObjUser.php.
Referenced by getPasswordEncodingType().
|
protected |
Definition at line 65 of file class.ilObjUser.php.
Referenced by getPasswordSalt(), and setPasswordSalt().
|
staticprotected |
Definition at line 105 of file class.ilObjUser.php.
string ilObjUser::$phone_home = '' |
Definition at line 80 of file class.ilObjUser.php.
Referenced by getPhoneHome(), saveAsNew(), and update().
string ilObjUser::$phone_mobile = '' |
Definition at line 81 of file class.ilObjUser.php.
Referenced by getPhoneMobile(), saveAsNew(), and update().
string ilObjUser::$phone_office = '' |
Definition at line 79 of file class.ilObjUser.php.
Referenced by getPhoneOffice(), saveAsNew(), and update().
array ilObjUser::$prefs = [] |
Definition at line 103 of file class.ilObjUser.php.
Referenced by _getPreferences(), and readPrefs().
|
protected |
Definition at line 117 of file class.ilObjUser.php.
Referenced by getProfileIncomplete().
string ilObjUser::$referral_comment = '' |
Definition at line 87 of file class.ilObjUser.php.
Referenced by getComment(), saveAsNew(), and update().
|
protected |
Definition at line 84 of file class.ilObjUser.php.
Referenced by getSecondEmail(), and setSecondEmail().
string ilObjUser::$sel_country = '' |
Definition at line 78 of file class.ilObjUser.php.
Referenced by getSelectedCountry(), saveAsNew(), and update().
string ilObjUser::$skin = '' |
Definition at line 104 of file class.ilObjUser.php.
Referenced by __construct().
string ilObjUser::$street = '' |
Definition at line 74 of file class.ilObjUser.php.
Referenced by getStreet(), saveAsNew(), and update().
|
protected |
Definition at line 43 of file class.ilObjUser.php.
Referenced by getTimeLimitFrom().
|
protected |
Definition at line 40 of file class.ilObjUser.php.
Referenced by getTimeLimitMessage().
|
protected |
Definition at line 44 of file class.ilObjUser.php.
|
protected |
Definition at line 41 of file class.ilObjUser.php.
Referenced by getTimeLimitUnlimited().
|
protected |
Definition at line 42 of file class.ilObjUser.php.
Referenced by getTimeLimitUntil().
array ilObjUser::$user_defined_data = [] |
Definition at line 99 of file class.ilObjUser.php.
string ilObjUser::$utitle = '' |
Definition at line 67 of file class.ilObjUser.php.
Referenced by getUTitle(), saveAsNew(), and update().
string ilObjUser::$zipcode = '' |
Definition at line 76 of file class.ilObjUser.php.
Referenced by getZipcode(), saveAsNew(), and update().
const ilObjUser::NO_AVATAR_RID = '-' |
Definition at line 36 of file class.ilObjUser.php.
Referenced by _uploadPersonalPicture(), copyProfilePicturesToDirectory(), and removeUserPicture().
const ilObjUser::PASSWD_CRYPTED = 'crypted' |
Definition at line 38 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 37 of file class.ilObjUser.php.
Referenced by ilAuthProviderSoap\handleSoapAuth(), ilUserImportParser\importEndTag(), ilObjUserGUI\loadUserDefinedDataFromForm(), ilStartUpGUI\processIndexPHP(), ilObjUserGUI\saveObject(), and ilUserImportParser\verifyEndTag().