ILIAS
release_8 Revision v8.19
|
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 () | |
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 () | |
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) | |
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 () | |
hasToAcceptTermsOfService () | |
hasToAcceptTermsOfServiceInSession (?bool $status=null) | |
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) | |
![]() | |
__construct (int $id=0, bool $reference=true) | |
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 $desc) | |
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=array()) |
static | getUsersAgreed (bool $a_agreed=true, ?array $a_users=null) |
Get users that have or have not agreed to the user agreement. More... | |
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 | _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 | 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() |
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 = array() |
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 |
User class.
Definition at line 27 of file class.ilObjUser.php.
ilObjUser::__construct | ( | int | $a_user_id = 0 , |
bool | $a_call_by_reference = false |
||
) |
Definition at line 111 of file class.ilObjUser.php.
References $DIC, ilObject\$ilias, $skin, ILIAS\GlobalScreen\Provider\__construct(), read(), and ilObject\setId().
|
static |
check whether external account and authentication method matches with a user
Definition at line 2700 of file class.ilObjUser.php.
References ilObject\$db, $GLOBALS, $res, ILIAS\LTI\ToolProvider\$settings, ilAuthUtils\_getAuthModeName(), ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilAuthProviderCAS\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilLTIAppEventListener\doCronUpdate(), ilAuthProviderLTI\findUserId(), 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 949 of file class.ilObjUser.php.
|
static |
Definition at line 933 of file class.ilObjUser.php.
|
static |
Checks whether the passed loginname already exists in history.
Definition at line 794 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 3234 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 3677 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 2262 of file class.ilObjUser.php.
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 2138 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\$ref_id, and ilSession\get().
|
static |
Definition at line 2881 of file class.ilObjUser.php.
References ANONYMOUS_USER_ID.
Referenced by ilWikiContributorsTableGUI\fillRow(), and ilNoteGUI\getItemForNote().
|
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 2632 of file class.ilObjUser.php.
References $DIC, $ilDB, $ilSetting, $res, ilAuthUtils\_getAuthModeName(), and ilAuthUtils\AUTH_LOCAL.
Referenced by ilLDAPCronSynchronization\deactivateUsers(), ilLDAPServerTableGUI\fillRow(), and ilLDAPRoleGroupMapping\initServers().
|
static |
Lookup news feed password for user.
Definition at line 3176 of file class.ilObjUser.php.
Referenced by ilPDNewsBlockGUI\initPrivateSettingsForm(), and ilPDNewsBlockGUI\showFeedUrl().
|
static |
Definition at line 2571 of file class.ilObjUser.php.
References $DIC, ilObject\$id, $ilDB, $query, $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 817 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjUserGUI\initForm().
|
static |
|
static |
Definition at line 3497 of file class.ilObjUser.php.
References $DIC, $ilDB, and $query.
Referenced by ilAuthFrontend\checkExceededLoginAttempts(), and ilAuthFrontend\handleAuthenticationFail().
|
static |
Definition at line 2237 of file class.ilObjUser.php.
Referenced by ilSystemStyleOverviewGUI\checkDeletable(), ilSystemStyleOverviewGUI\checkStyleSettings(), ilStyleDefinition\getAllSkinStyles(), and ilSystemStylesTableGUI\getStyles().
|
static |
get number of users per auth mode
Definition at line 2762 of file class.ilObjUser.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
|
static |
string | $a_size | "small", "xsmall" or "xxsmall" |
ilWACException |
Definition at line 2891 of file class.ilObjUser.php.
References ilWACSignedPath\signFile().
Referenced by ilUserProfile\addStandardFieldsToForm(), ilUserProfileBadge\evaluate(), ilRepositoryUserResultTableGUI\fillRow(), ilPublicUserProfileGUI\getEmbeddable(), ILIAS\Awareness\WidgetManager\getListData(), ilUserUtil\getNamePresentation(), ilInternalLinkGUI\getUserSearchResult(), ilUserDataSet\getXmlRecord(), ilObjUserGUI\initForm(), ilNewsTimelineItemGUI\render(), ilObjPortfolioBaseGUI\renderFullscreenHeader(), ilObjBlogGUI\renderFullscreenHeader(), ilLikeGUI\renderModal(), ilPublicUserProfileGUI\renderTitle(), ilMStShowUserGUI\setTitleAndIcon(), and ilPersonalProfileGUI\showPublicProfileFields().
|
static |
get preferences for user
int | $user_id |
Definition at line 3450 of file class.ilObjUser.php.
References $DIC, $ilDB, and $prefs.
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 3403 of file class.ilObjUser.php.
References $data, $DIC, $ilDB, $query, 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 3846 of file class.ilObjUser.php.
References $DIC, $ilDB, $query, $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 2538 of file class.ilObjUser.php.
References $DIC, $ilDB, 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 3298 of file class.ilObjUser.php.
References $active, $data, $DIC, $ilDB, $query, 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 3342 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 3355 of file class.ilObjUser.php.
References $active, $DIC, $ilDB, $query, 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 3255 of file class.ilObjUser.php.
References $active, $data, $DIC, $ilDB, and $query.
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 3596 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\$log, ilObject\$user, ANONYMOUS_USER_ID, ilLogger\debug(), ilUserFilter\getInstance(), ilUserAccountSettings\getInstance(), ilLoggerFactory\getLogger(), ilTermsOfServiceHelper\isEnabled(), and SYSTEM_USER_ID.
Referenced by ILIAS\Awareness\User\Collector\getOnlineUsers().
|
static |
Definition at line 3510 of file class.ilObjUser.php.
References $DIC, $ilDB, and $query.
Referenced by ilAuthFrontend\handleAuthenticationFail().
|
static |
Definition at line 4068 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(), 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 3204 of file class.ilObjUser.php.
Referenced by ilUserLoginInputGUI\checkInput(), ilECSAppEventListener\handleNewAccountCreation(), ilAuthProviderSaml\handleSamlAuth(), ilCalendarAppointmentGUI\loadNotificationRecipients(), ilLuceneQueryParser\replaceOwnerCallback(), ilAccountRegistrationGUI\saveForm(), ilObjEmployeeTalkSeriesGUI\saveObject(), ilConsultationHourAppointments\setManager(), and ilPersonalProfileGUI\updateLoginOrSetErrorMessages().
|
staticprivate |
|
static |
Definition at line 1675 of file class.ilObjUser.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMailSearchObjectGUI\cancel(), ilLearningSequenceParticipantsTableGUI\fillRow(), ILIAS\Contact\Provider\ContactNotificationProvider\getNotifications(), ilOrgUnitRecursiveUserAssignmentTableGUI\loadData(), and ilBuddySystemRelationsTableGUI\populate().
|
static |
Definition at line 2691 of file class.ilObjUser.php.
Referenced by ilECSAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), and ilLTIAppEventListener\handleUpdateStatus().
|
static |
Definition at line 605 of file class.ilObjUser.php.
Referenced by ilObjTest\inviteGroup(), and ilObjTest\inviteRole().
|
static |
Definition at line 595 of file class.ilObjUser.php.
Referenced by ilObjSurvey\getAppraiseesData(), ilAccessibilitySupportContacts\getMailsToAddress(), ilSystemSupportContacts\getMailsToAddress(), ilObjSurvey\getRatersData(), ilUserCronCheckAccounts\hasFlexibleSchedule(), ilBadgeHandler\sendNotification(), and ilMailSearchGUI\showResults().
|
static |
Definition at line 665 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 3139 of file class.ilObjUser.php.
Referenced by ilUserFeedWriter\__construct(), ilPDNewsBlockGUI\showFeedUrl(), and ilNewsForContextBlockGUI\showFeedUrl().
|
static |
lookup fields (deprecated; use more specific methods instead)
Definition at line 645 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilTestExport\exportToCSV(), ilTestExport\exportToExcel(), ilCertificateUserObjectHelper\lookupFields(), and ilTestEvaluationGUI\outEvaluation().
|
static |
Definition at line 713 of file class.ilObjUser.php.
Referenced by ilFirstLoginLearningHistoryProvider\getEntries().
|
static |
Definition at line 568 of file class.ilObjUser.php.
References $DIC, $fullname, and $ilDB.
Referenced by ilExAssignmentTeam\addTeamMember(), ilCalendarAppointmentGUI\book(), ilBookingProcessGUI\bookMultipleParticipants(), ilObjStudyProgrammeIndividualPlanGUI\buildFrame(), ilCalendarAppointmentGUI\cancelBooking(), ilObjSurvey\checkReminder(), ilExAssignmentReminder\checkReminders(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilObjStudyProgrammeMembersGUI\confirmRemoveUsers(), ilExAssignmentTeam\createTeam(), ilObjDataCollection\doUpdate(), ilRbacLogTableGUI\fillRow(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\fillRow(), ilConsultationHourUtils\getConsultationHourLinksForRepositoryObject(), ilLPTableBaseGUI\getExportMeta(), ilCalendarAppointmentPanelGUI\getHTML(), ilCalendarBlockGUI\getHTML(), ilExAssignmentTeamLogTableGUI\getItems(), ilLearningModuleNotification\getMailBody(), ilConsultationHourAppointments\getManager(), ilObjStudyProgramme\getProgressIdString(), ilObjSurvey\getSurveyParticipants(), ilExAssignmentTeam\getTeamId(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilBookingEntry\lookupManagedBookingsForObject(), ilSCORMTrackingItemsScoTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilAssignmentsPerParticipantTableGUI\parseData(), ilCalendarPresentationGUI\prepareOutput(), ilCalendarCategories\readConsultationHoursCalendar(), ilExAssignmentTeam\removeTeamMember(), ilIndividualAssessmentMembersGUI\removeUserConfirmation(), ilCalendarMailNotification\send(), ilConsultationHoursGUI\sendInfoAboutUnassignedUsers(), ilWikiUtil\sendNotification(), ILIAS\Notes\NotificationsManager\sendNotifications(), ilObjSurvey\sendTutorNotification(), ilTestScoringByQuestionsGUI\showManScoringByQuestionParticipantsTable(), ilObjStudyProgrammeMembersGUI\updateFromCurrentPlan(), and ilObjStudyProgrammeMembersGUI\updateFromCurrentPlanMulti().
|
static |
Definition at line 600 of file class.ilObjUser.php.
Referenced by ilMail\getSalutation().
|
static |
string|string[] | $a_user_str |
Definition at line 674 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilMail\__construct(), ilObjUserGUI\addAdminLocatorItems(), ilOrgUnitStaffGUI\addOtherRoles(), ilSurveyRaterGUI\addRater(), ilOrgUnitStaffGUI\addStaff(), ilOrgUnitUserAssignmentGUI\addStaff(), ilRepositorySearchGUI\addUserFromAutoComplete(), ilObjBlogGUI\addUserFromAutoComplete(), ilBookingParticipantGUI\addUserFromAutoCompleteObject(), ilExSubmissionTeamGUI\addUserFromAutoCompleteObject(), ilExerciseManagementGUI\addUserFromAutoCompleteObject(), ilTreeTrashQueries\appendTrashNodeForContainerQueryFilter(), ilSkillProfileGUI\assignUser(), ilOrgUnitSimpleUserImport\buildUserId(), ilChatroomInviteUsersToPrivateRoomGUI\byLogin(), ilPermission2GUI\changeOwner(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\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(), ilAuthFrontend\handleAuthenticationFail(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLogin(), ilSessionControl\handleLoginEvent(), ilAuthProviderSaml\handleSamlAuth(), ilAuthProviderSoap\handleSoapAuth(), ilAuthProviderSaml\importUser(), ilPCParagraph\intLinks2xml(), ilChatroom\inviteUserToPrivateRoomByLogin(), 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 1510 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\$lng, and ilLanguage\getDefaultLanguage().
Referenced by ilLanguageFactory\_getLanguageOfUser().
|
static |
Definition at line 708 of file class.ilObjUser.php.
Referenced by ilCronDeleteInactiveUserReminderMail\removeEntriesFromTableIfLastLoginIsNewer().
|
static |
Definition at line 660 of file class.ilObjUser.php.
Referenced by ilCourseXMLParser\__parseId(), ilObjSystemFolderGUI\benchmarkObject(), ilObjEmployeeTalkGUI\cancelDeleteObject(), ilObjSurvey\checkReminder(), ilExAssignmentReminder\checkReminders(), ilWorkspaceUserActionProvider\collectActionsForTargetUser(), ilChatUserActionProvider\collectActionsForTargetUser(), ilForumMailEventNotificationSender\createMailValueObjectsWithAttachments(), ilForumMailEventNotificationSender\createMailValueObjectWithoutAttachments(), ilObjRole\delete(), ilStartUpGUI\doStandardAuthentication(), ilObjDataCollection\doUpdate(), ilObjSessionGUI\eventsListObject(), ilSessionOverviewGUI\exportCSV(), ilStudyProgrammeIndividualPlanTableGUI\fetchData(), ilDclBaseRecordModel\fillRecordFieldExcelExport(), ilMilestoneResponsiblesTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilUserAvatarResolver\getAvatar(), ilOrgUnitUserAssignmentGUI\getConfirmationGUI(), ilAccessibilitySupportContactsGUI\getContactLogins(), ilAttendanceList\getHTML(), ilConsultationHourAppointments\getManagedUsers(), ilConsultationHourAppointments\getManager(), ilStudyProgrammeMailMemberSearchGUI\getProcessData(), ilTestServiceGUI\getResultsHeadUserAndPass(), ilStudyProgrammeMailTemplateContext\getSpecificPlaceholders(), ilObjSurvey\getUserDataFromActiveId(), ilForumSettingsGUI\getUserNotificationTableData(), ilInternalLinkGUI\getUserSearchResult(), ilUserClipboard\getValidatedContent(), ilObjUserGUI\getValues(), ilAuthFrontend\handleAuthenticationSuccess(), ilCalendarAppointmentGUI\initForm(), ilMailSearchObjectGUI\mailMembers(), ilContactGUI\mailToUsers(), ilPermission2GUI\owner(), ilCalendarSharedUserListTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilTrashTableGUI\parse(), ilRegistrationSettings\read(), ilLearningSequenceRoles\readMemberData(), ilCalendarEntry\readResponsibleUsers(), ilExerciseManagementGUI\redirectFeedbackMailObject(), ilBuddyList\request(), ilMailSummaryNotification\send(), ILIAS\EmployeeTalk\Service\EmployeeTalkEmailNotificationService\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(), ilMembershipCronMinMembers\sendMessage(), ilWikiUtil\sendNotification(), ILIAS\Notes\NotificationsManager\sendNotifications(), ilObjSurvey\sendRaterNotification(), ilObjSurvey\sendTutorNotification(), ilEmployeeTalkTableGUI\setTalkData(), ilContactGUI\showContacts(), ilMailSearchGUI\showResults(), ilMailFolderGUI\showUser(), ilContactGUI\submitInvitation(), ilBuddySystemGUI\transitionAsyncCommand(), ilBuddySystemGUI\transitionCommand(), ilUserImportParser\verifyEndTag(), and ilPCParagraph\xml2output().
|
static |
lookup user name
Definition at line 614 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by 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(), ilOrgUnitStaffGUI\confirmRemoveUser(), ilLocalUserGUI\deleteUsers(), ilObjCategoryGUI\deleteUsersObject(), ilBlogExerciseGUI\downloadExcSubFile(), ilPortfolioExerciseGUI\downloadExcSubFile(), ilWikiPageGUI\downloadExcSubFile(), ilExSubmission\downloadFiles(), ilExSubmission\downloadMultipleFiles(), ilObjSessionGUI\eventsListObject(), ilSessionOverviewGUI\exportCSV(), ilObjExercise\exportGradesExcel(), ilObjAssessmentFolderGUI\exportLogObject(), ilDclBaseRecordModel\fillRecordFieldExcelExport(), ilAssessmentFolderLogTableGUI\fillRow(), ilCalendarInboxSharedTableGUI\fillRow(), ilFileVersionsTableGUI\fillRow(), ilRbacLogTableGUI\fillRow(), ilObjSurvey\getAppraiseesData(), ilBookingParticipant\getAssignableParticipants(), ilLMTracker\getBlockedUsersInformation(), ilExSubmission\getDirectoryNameFromUserData(), ilIndividualAssessmentMembersTableGUI\getFullNameFor(), ilAttendanceList\getHTML(), ilSurveyParticipantsTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilBookingParticipant\getList(), ilBookingReservationDBRepository\getListByDate(), ilExAssignment\getMemberListData(), ilContSkillMemberTableGUI\getMembers(), ilExAssignment\getMultiFeedbackFiles(), ilPageObject\getPageContributors(), ILIAS\Portfolio\PortfolioPrintViewProviderGUI\getPages(), ilPageObject\getParentObjectContributors(), ilDownloadSubmissionsBackgroundTask\getParticipantBucketTitle(), ilMilestoneResponsiblesTableGUI\getParticipantsAndResponsibles(), ilStudyProgrammeMailMemberSearchGUI\getProcessData(), ilObjWikiListGUI\getProperties(), ilObjSurvey\getRatersData(), 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(), ilTestEvaluationGUI\outParticipantsResultsOverview(), ilCalendarSharedUserListTableGUI\parse(), ilCourseReferenceDeleteConfirmationTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilGroupXMLParser\parseId(), ilLearningSequenceRoles\readMemberData(), ilObjCourseGUI\readMemberData(), ilCalendarEntry\readResponsibleUsers(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilObjPortfolioBaseGUI\renderFullscreenHeader(), ilObjBlogGUI\renderFullscreenHeader(), ilObjBlogGUI\renderNavigationByAuthors(), ilTestScoringGUI\saveManScoringParticipantScreen(), ilExerciseManagementGUI\saveStatus(), ilExAssignment\sendMultiFeedbackStructureFile(), ilExerciseManagementGUI\showParticipantObject(), ilMailSearchGUI\showResults(), ilCourseContentGUI\showUserTimings(), ilObjTest\userLookupFullName(), ilMailNotification\userToString(), and ILIAS\Survey\Settings\SettingsFormGUI\withAfterEnd().
|
static |
Definition at line 1037 of file class.ilObjUser.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilNewsItem\_getNewsItemsOfUser(), ilChatUserActionProvider\acceptsMessages(), ilObjUserAccess\canBeDelivered(), ilMailSearchObjectGUI\cancel(), ilUserUserActionProvider\collectActionsForTargetUser(), ilMailFolderGUI\confirmDeleteMails(), ilMailSearchObjectMembershipsTableGUI\fillRow(), ilBuddySystemRelationsTableGUI\fillRow(), ilMail\formatNamesForOutput(), ilBuddySystemLinkButton\getHtml(), ilUserUtil\getProfileLink(), ilBuddySystemGUI\requestCommand(), ilMailSearchGUI\showResults(), and ilBuddySystemGUI\transitionAsyncCommand().
|
static |
Definition at line 2283 of file class.ilObjUser.php.
Referenced by ilSystemStyleOverviewGUI\moveUserStyles().
|
static |
int[] | $a_user_ids |
Definition at line 2119 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 3189 of file class.ilObjUser.php.
Referenced by ilPDNewsBlockGUI\changeFeedSettings().
|
static |
Definition at line 3527 of file class.ilObjUser.php.
References $DIC, $ilDB, $query, and ilUtil\now().
Referenced by ilAuthFrontend\handleAuthenticationFail().
|
static |
Definition at line 2663 of file class.ilObjUser.php.
References $DIC, $ilDB, 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 2814 of file class.ilObjUser.php.
References ilShellUtil\execConvert(), ilFileUtils\getWebspaceDir(), ilShellUtil\isConvertVersionAtLeast(), and ilFileUtils\makeDir().
Referenced by ilUserImportParser\importEndTag(), and ilUserDataSet\importRecord().
|
static |
Verifies a registration hash.
Definition at line 3726 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilStartUpGUI\_checkGoto().
|
static |
Definition at line 1547 of file class.ilObjUser.php.
Referenced by ilAuthProviderSaml\handleSamlAuth().
|
static |
Definition at line 1531 of file class.ilObjUser.php.
|
static |
|
static |
Definition at line 962 of file class.ilObjUser.php.
Referenced by ilBadgeProfileGUI\saveSettings(), and ilChatroomViewGUI\toggleAutoMessageDisplayState().
ilObjUser::activateDeletionFlag | ( | ) |
Definition at line 4073 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 2321 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
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 2367 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, ilObject\getId(), and ilSession\set().
Referenced by ilPageObject\copyContents().
ilObjUser::assignData | ( | array | $a_data | ) |
loads a record "user" from array
array | $a_data,<string,mixed> |
Definition at line 236 of file class.ilObjUser.php.
References $DIC, $ilErr, 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 4180 of file class.ilObjUser.php.
Referenced by getGeneralInterestsAsText(), getLookingForHelpAsText(), and getOfferingHelpAsText().
ilObjUser::checkTimeLimit | ( | ) |
Definition at line 1787 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 1966 of file class.ilObjUser.php.
References ilObject\$id.
ilObjUser::clipboardDeleteAll | ( | ) |
Definition at line 2449 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
Referenced by delete().
ilObjUser::clipboardDeleteObjectsOfType | ( | string | $a_type | ) |
Definition at line 2437 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 2418 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
|
static |
Definition at line 2904 of file class.ilObjUser.php.
References ilFileUtils\getWebspaceDir().
Referenced by ILIAS\Portfolio\Export\PortfolioHtmlExport\exportBanner(), ILIAS\Blog\Export\BlogHtmlExport\exportBanner(), and ilUserDataSet\getXmlRecord().
ilObjUser::delete | ( | ) |
Definition at line 1063 of file class.ilObjUser.php.
References ilObject\$db, $DIC, $ilDB, 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(), ilCronDeleteInactiveUserReminderMail\removeSingleUserFromTable(), removeUserPicture(), and resetOwner().
|
protected |
Definition at line 4263 of file class.ilObjUser.php.
References $DIC, $ilDB, and ilObject\getId().
Referenced by delete(), and updateMultiTextFields().
ilObjUser::deletePref | ( | string | $a_keyword | ) |
Definition at line 928 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::deleteUserDefinedFieldEntries | ( | ) |
Definition at line 2994 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, ilLanguage\loadLanguageModule(), ilDatePresentation\resetToDefaults(), ilDatePresentation\setLanguage(), ilDatePresentation\setUseRelativeDates(), ilLanguage\txt(), and UDF_TYPE_WYSIWYG.
Referenced by delete().
ilObjUser::existsPref | ( | string | $a_keyword | ) |
Definition at line 1032 of file class.ilObjUser.php.
ilObjUser::exportPersonalData | ( | ) |
Definition at line 3924 of file class.ilObjUser.php.
References ilObject\$title, ilExport\_getExportDirectory(), ilFileUtils\delDir(), ilObject\getId(), getLastname(), and getLogin().
|
static |
Definition at line 4277 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilPublicUserProfileGUI\getAutocompleteResult().
ilObjUser::getActive | ( | ) |
Definition at line 1670 of file class.ilObjUser.php.
References $active.
Referenced by ilMailSearchObjectGUI\cancel(), ilAuthFrontend\checkActivation(), ilAuthFrontend\checkExceededLoginAttempts(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::getAgreeDate | ( | ) |
Definition at line 1641 of file class.ilObjUser.php.
References $agree_date.
Referenced by ilTermsOfServiceHelper\hasToResignAcceptance().
ilObjUser::getApproveDate | ( | ) |
ilObjUser::getAuthMode | ( | bool | $a_auth_key = false | ) |
Definition at line 2608 of file class.ilObjUser.php.
References $auth_mode, and ilAuthUtils\_getAuthMode().
Referenced by ilECSAppEventListener\handleMembership(), isPasswordChangeDemanded(), isPasswordExpired(), saveAsNew(), and update().
ilObjUser::getAvatar | ( | ) |
Definition at line 2876 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::getBirthday | ( | ) |
Definition at line 3776 of file class.ilObjUser.php.
References $birthday.
Referenced by saveAsNew(), and update().
ilObjUser::getCity | ( | ) |
Definition at line 1335 of file class.ilObjUser.php.
References $city.
Referenced by ilPersonalProfileGUI\addLocationToForm(), and deleteUserDefinedFieldEntries().
ilObjUser::getClientIP | ( | ) |
Definition at line 1421 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 2507 of file class.ilObjUser.php.
References $DIC, $ilDB, $ilUser, 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 2462 of file class.ilObjUser.php.
References $DIC, $ilDB, ilPageObject\_exists(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilObject\getId(), and ilMediaPoolPage\lookupTitle().
ilObjUser::getComment | ( | ) |
Definition at line 1622 of file class.ilObjUser.php.
References $referral_comment.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getCountry | ( | ) |
Definition at line 1355 of file class.ilObjUser.php.
References $country.
Referenced by ilPersonalProfileGUI\addLocationToForm(), and deleteUserDefinedFieldEntries().
ilObjUser::getCurrentLanguage | ( | ) |
returns the current language (may differ from user's pref setting!)
Definition at line 1564 of file class.ilObjUser.php.
References ilSession\get().
ilObjUser::getDateFormat | ( | ) |
Definition at line 1010 of file class.ilObjUser.php.
References $format, ILIAS\LTI\ToolProvider\$settings, ilCalendarSettings\_getInstance(), and getPref().
Referenced by ilIndividualAssessmentDateFormatter\getUserDateFormat().
ilObjUser::getDepartment | ( | ) |
Definition at line 1315 of file class.ilObjUser.php.
References $department.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getEmail | ( | ) |
Definition at line 1454 of file class.ilObjUser.php.
References $email.
Referenced by shibUser\createFields(), deleteUserDefinedFieldEntries(), ilCmiXapiUser\getIdent(), ILIAS\EmployeeTalk\Service\VEventFactory\getInstanceFromTalk(), ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\getNewEmailForUser(), ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\getNewTokenForUser(), ilAccountMail\replacePlaceholders(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), ilObjUserFolderGUI\showActionConfirmation(), ilPasswordAssistanceGUI\submitAssistanceForm(), and shibUser\updateFields().
ilObjUser::getExternalAccount | ( | ) |
Definition at line 2621 of file class.ilObjUser.php.
References $ext_account.
Referenced by ilCmiXapiUser\getIdent(), ilCmiXapiUser\getIdentAsId(), ilECSAppEventListener\handleMembership(), saveAsNew(), and update().
ilObjUser::getFax | ( | ) |
Definition at line 1411 of file class.ilObjUser.php.
References $fax.
Referenced by deleteUserDefinedFieldEntries().
|
static |
Get first letters of all lastnames.
int[] | $user_ids |
Definition at line 3888 of file class.ilObjUser.php.
References $DIC, $ilDB, and ANONYMOUS_USER_ID.
Referenced by ilObjUserFolderGUI\viewObject().
ilObjUser::getFirstLogin | ( | ) |
Definition at line 1592 of file class.ilObjUser.php.
References $first_login.
Referenced by refreshLogin().
ilObjUser::getFirstname | ( | ) |
Definition at line 1285 of file class.ilObjUser.php.
References $firstname.
Referenced by ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilMailSearchObjectGUI\cancel(), ilExerciseManagementGUI\collectFeedbackDataFromPeer(), ilObjSCORMLearningModuleGUI\deleteTrackingForUser(), deleteUserDefinedFieldEntries(), ilForumModeratorsGUI\detachModeratorRole(), 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 1196 of file class.ilObjUser.php.
References ilUtil\stripSlashes().
Referenced by ilIndividualAssessmentMembersStorageDB\createAssessmentMember(), shibUser\createFields(), ILIAS\EmployeeTalk\Service\VEventFactory\getInstanceFromTalk(), ilCmiXapiUser\getName(), ilObjSurvey\getUserDataFromActiveId(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), and ilObjUserFolderGUI\showActionConfirmation().
ilObjUser::getGender | ( | ) |
Definition at line 1260 of file class.ilObjUser.php.
References $gender.
Referenced by deleteUserDefinedFieldEntries(), ilObjSurvey\getUserDataFromActiveId(), and ilAccountMail\replacePlaceholders().
ilObjUser::getGeneralInterests | ( | ) |
Definition at line 4114 of file class.ilObjUser.php.
References $interests_general.
Referenced by updateMultiTextFields().
ilObjUser::getGeneralInterestsAsText | ( | ) |
Get general interests as plain text.
Definition at line 4122 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getHobby | ( | ) |
Definition at line 1474 of file class.ilObjUser.php.
References $hobby.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getInactivationDate | ( | ) |
ilObjUser::getInstitution | ( | ) |
Definition at line 1305 of file class.ilObjUser.php.
References $institution.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getLanguage | ( | ) |
Definition at line 1485 of file class.ilObjUser.php.
Referenced by ilStartUpGUI\_checkGoto(), ilAccessibilityUserHasLanguageCriterion\evaluate(), ilTermsOfServiceUserHasLanguageCriterion\evaluate(), ilPortfolioDeclarationOfAuthorship\getForUser(), ILIAS\Notifications\Model\ilNotificationConfig\getUserInstance(), ILIAS\LearningModule\Export\LMHtmlExport\initLanguage(), ilMailTemplateContext\initLanguage(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), and ilAccountRegistrationMail\trySendingUserDefinedAccountMail().
ilObjUser::getLastLogin | ( | ) |
Definition at line 1582 of file class.ilObjUser.php.
References $last_login.
Referenced by ilObjUserFolderGUI\showActionConfirmation().
ilObjUser::getLastname | ( | ) |
Definition at line 1295 of file class.ilObjUser.php.
References $lastname.
Referenced by ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilMailSearchObjectGUI\cancel(), ilExerciseManagementGUI\collectFeedbackDataFromPeer(), ilObjSCORMLearningModuleGUI\deleteTrackingForUser(), deleteUserDefinedFieldEntries(), ilForumModeratorsGUI\detachModeratorRole(), exportPersonalData(), ilCmiXapiUser\getName(), getPublicName(), ilExerciseManagementGUI\getReportPanel(), ilObjSurvey\getUserDataFromActiveId(), ilRepositorySearchGUI\initFormSearch(), ilAccountMail\replacePlaceholders(), and shibUser\returnNewLoginName().
ilObjUser::getLastPasswordChangeTS | ( | ) |
Definition at line 1495 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 1918 of file class.ilObjUser.php.
References $latitude.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLocationZoom | ( | ) |
Definition at line 1938 of file class.ilObjUser.php.
References $loc_zoom.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLogin | ( | ) |
Definition at line 1226 of file class.ilObjUser.php.
References $login.
Referenced by ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilMailSearchObjectGUI\cancel(), shibUser\create(), delete(), deleteUserDefinedFieldEntries(), ilForumModeratorsGUI\detachModeratorRole(), ilUserCertificateGUI\download(), exportPersonalData(), ilCmiXapiUser\getIdent(), ilCmiXapiUser\getIdentAsId(), getPublicName(), ilObjSurvey\getUserDataFromActiveId(), ilTermsOfServiceHelper\hasToResignAcceptance(), ilObjEmployeeTalkSeriesGUI\initCreateForm(), ilRepositorySearchGUI\initFormSearch(), ilTermsOfServiceHelper\isIncludedUser(), ilAccountMail\replacePlaceholders(), ilAccountMail\send(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), ilObjUserFolderGUI\showActionConfirmation(), ilNewsForContextBlockGUI\showNews(), ilPasswordAssistanceGUI\submitAssignPasswordForm(), ilPasswordAssistanceGUI\submitAssistanceForm(), ilAccountRegistrationMail\trySendingUserDefinedAccountMail(), and updateLogin().
ilObjUser::getLoginAttempts | ( | ) |
ilObjUser::getLoginByUserId | ( | int | $a_userid | ) |
Definition at line 2085 of file class.ilObjUser.php.
References $DIC, $ilDB, $res, and ANONYMOUS_USER_ID.
|
staticprivate |
Gets the username from $ilAuth, and converts it into an ILIAS login name.
Definition at line 1979 of file class.ilObjUser.php.
References $GLOBALS, $login, and ilDAVActivationChecker\_isActive().
ilObjUser::getLongitude | ( | ) |
Definition at line 1928 of file class.ilObjUser.php.
References $longitude.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLookingForHelp | ( | ) |
Definition at line 4162 of file class.ilObjUser.php.
References $interests_help_looking.
Referenced by updateMultiTextFields().
ilObjUser::getLookingForHelpAsText | ( | ) |
Get help looking for as plain text.
Definition at line 4170 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getMatriculation | ( | ) |
Definition at line 1431 of file class.ilObjUser.php.
References $matriculation.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getOfferingHelp | ( | ) |
Definition at line 4138 of file class.ilObjUser.php.
References $interests_help_offered.
Referenced by updateMultiTextFields().
ilObjUser::getOfferingHelpAsText | ( | ) |
Get help offering as plain text.
Definition at line 4146 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getOrgUnitsRepresentation | ( | ) |
Definition at line 2598 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::getPasswd | ( | ) |
Definition at line 1242 of file class.ilObjUser.php.
References $passwd.
Referenced by resetPassword(), saveAsNew(), update(), and ilUserPasswordManager\verifyPassword().
ilObjUser::getPasswdType | ( | ) |
Definition at line 1250 of file class.ilObjUser.php.
References $passwd_type.
ilObjUser::getPasswordAge | ( | ) |
Definition at line 1865 of file class.ilObjUser.php.
References getLastPasswordChangeTS(), and ILIAS\Repository\int().
ilObjUser::getPasswordEncodingType | ( | ) |
Definition at line 212 of file class.ilObjUser.php.
References $password_encoding_type.
Referenced by resetPassword(), saveAsNew(), update(), and ilUserPasswordManager\verifyPassword().
ilObjUser::getPasswordPolicyResetStatus | ( | ) |
Definition at line 1500 of file class.ilObjUser.php.
References $passwd_policy_reset.
Referenced by isPasswordChangeDemanded().
ilObjUser::getPasswordSalt | ( | ) |
Definition at line 222 of file class.ilObjUser.php.
References $password_salt.
Referenced by ilUserPasswordManager\encodePassword(), resetPassword(), saveAsNew(), update(), and ilUserPasswordManager\verifyPassword().
ilObjUser::getPCClipboardContent | ( | ) |
Add a page content item to PC clipboard (should go to another class)
Definition at line 2389 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, ilSession\get(), and ilObject\getId().
Referenced by ilPageObject\pasteContents().
ilObjUser::getPersonalDataExportFile | ( | ) |
Definition at line 3940 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 2863 of file class.ilObjUser.php.
References ilObject\getId(), and ILIAS\Repository\int().
Referenced by ilMailFolderTableGUI\fetchTableData(), ilPDMailBlockGUI\fillRow(), ilPDMailBlockGUI\getListItemForData(), and ilForumAuthorInformation\getUserImagePath().
ilObjUser::getPhoneHome | ( | ) |
Definition at line 1391 of file class.ilObjUser.php.
References $phone_home.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPhoneMobile | ( | ) |
Definition at line 1401 of file class.ilObjUser.php.
References $phone_mobile.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPhoneOffice | ( | ) |
Definition at line 1381 of file class.ilObjUser.php.
References $phone_office.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getPref | ( | string | $a_keyword | ) |
Definition at line 1027 of file class.ilObjUser.php.
Referenced by ilStartUpGUI\_checkGoto(), getDateFormat(), ilCalendarAgendaListGUI\getPeriod(), ilPublicUserProfileGUI\getPublicPref(), ilProfileChecklistStatus\getStatus(), ilProfileChecklistStatus\getStatusDetails(), getTimeFormat(), getTimeZone(), hasDeletionFlag(), hasPublicProfile(), and ilContainerSessionsContentGUI\initDetails().
ilObjUser::getProfileIncomplete | ( | ) |
Definition at line 1803 of file class.ilObjUser.php.
References $profile_incomplete, and ANONYMOUS_USER_ID.
Referenced by ilProfileChecklistStatus\getStatus(), saveAsNew(), and update().
|
static |
Get profile status.
int[] | $a_user_ids user ids |
Definition at line 4314 of file class.ilObjUser.php.
References $DIC, ilObject\$id, and $ilDB.
Referenced by ilInternalLink\searchUsers().
ilObjUser::getPublicName | ( | ) |
returns firstname lastname and login if profile is public, login otherwise
Definition at line 3555 of file class.ilObjUser.php.
References getFirstname(), getLastname(), getLogin(), and hasPublicProfile().
Referenced by ilMailFolderTableGUI\fetchTableData(), ilPDMailBlockGUI\fillRow(), and ilPDMailBlockGUI\getListItemForData().
ilObjUser::getSecondEmail | ( | ) |
Definition at line 1459 of file class.ilObjUser.php.
References $second_email.
Referenced by deleteUserDefinedFieldEntries().
ilObjUser::getSelectedCountry | ( | ) |
Get selected country (selection drop down)
Definition at line 1371 of file class.ilObjUser.php.
References $sel_country.
Referenced by deleteUserDefinedFieldEntries(), and ilTermsOfServiceUserHasCountryCriterion\evaluate().
ilObjUser::getStoredActive | ( | int | $a_id | ) |
get user active state
Definition at line 1717 of file class.ilObjUser.php.
Referenced by syncActive(), and update().
ilObjUser::getStreet | ( | ) |
Definition at line 1325 of file class.ilObjUser.php.
References $street.
Referenced by ilPersonalProfileGUI\addLocationToForm(), and deleteUserDefinedFieldEntries().
ilObjUser::getTimeFormat | ( | ) |
Definition at line 1000 of file class.ilObjUser.php.
References $format, ILIAS\LTI\ToolProvider\$settings, ilCalendarSettings\_getInstance(), and getPref().
Referenced by ilIndividualAssessmentDateFormatter\getUserDateFormat().
ilObjUser::getTimeLimitFrom | ( | ) |
Definition at line 1742 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 1772 of file class.ilObjUser.php.
References $time_limit_message.
Referenced by update().
ilObjUser::getTimeLimitOwner | ( | ) |
Definition at line 1732 of file class.ilObjUser.php.
Referenced by saveAsNew(), and update().
ilObjUser::getTimeLimitUnlimited | ( | ) |
Definition at line 1762 of file class.ilObjUser.php.
References $time_limit_unlimited.
Referenced by checkTimeLimit(), deleteUserDefinedFieldEntries(), ilAccountMail\replacePlaceholders(), saveAsNew(), and update().
ilObjUser::getTimeLimitUntil | ( | ) |
Definition at line 1752 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 990 of file class.ilObjUser.php.
References ILIAS\LTI\ToolProvider\$settings, ilCalendarSettings\_getInstance(), and getPref().
Referenced by ilObjEmployeeTalkGUI\sendNotification(), ilEmployeeTalkAppointmentGUI\sendNotification(), ilObjEmployeeTalkSeriesGUI\sendNotification(), and ilObjEmployeeTalkGUI\sendUpdateNotification().
ilObjUser::getUserDefinedData | ( | ) |
Definition at line 2972 of file class.ilObjUser.php.
Referenced by deleteUserDefinedFieldEntries(), and ilUserProfile\isProfileIncomplete().
|
static |
Definition at line 2033 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 2041 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 3787 of file class.ilObjUser.php.
References $DIC, $query, $res, and ILIAS\Repository\int().
Referenced by ilCronDeleteInactiveUserAccounts\hasCustomSettings().
|
static |
Get ids of all users that have never logged in.
int | $thresholdInDays |
Definition at line 3818 of file class.ilObjUser.php.
References $DIC, $query, $res, and ILIAS\Repository\int().
Referenced by ilCronDeleteNeverLoggedInUserAccounts\run().
|
static |
Definition at line 2065 of file class.ilObjUser.php.
References $DIC, $ilDB, and $res.
Referenced by ilPasswordAssistanceGUI\submitUsernameAssistanceForm().
|
static |
Get users that have or have not agreed to the user agreement.
bool | $a_agreed | true, if users that have agreed should be returned |
?int[] | $a_users array of user ids (subset used as base) or null for all users |
Definition at line 4024 of file class.ilObjUser.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
|
static |
For a given set of user IDs return a subset that has a given user preference set.
Definition at line 3475 of file class.ilObjUser.php.
Referenced by ILIAS\Awareness\User\Collector\collectUsers().
ilObjUser::getUTitle | ( | ) |
Definition at line 1275 of file class.ilObjUser.php.
References $utitle.
Referenced by deleteUserDefinedFieldEntries(), and ilCmiXapiUser\getName().
ilObjUser::getZipcode | ( | ) |
Definition at line 1345 of file class.ilObjUser.php.
References $zipcode.
Referenced by deleteUserDefinedFieldEntries().
|
static |
Definition at line 1944 of file class.ilObjUser.php.
Referenced by ilAuthFrontend\checkSimultaneousLogins().
ilObjUser::hasDeletionFlag | ( | ) |
Definition at line 4083 of file class.ilObjUser.php.
References getPref().
ilObjUser::hasPublicProfile | ( | ) |
returns true if public is profile, false otherwise
Definition at line 3547 of file class.ilObjUser.php.
References getPref().
Referenced by getPublicName().
ilObjUser::hasToAcceptTermsOfService | ( | ) |
Definition at line 4004 of file class.ilObjUser.php.
References ANONYMOUS_USER_ID, ilObject\getId(), ilTermsOfServiceHelper\isEnabled(), ILIAS\UI\examples\Symbol\Glyph\Login\login(), and SYSTEM_USER_ID.
ilObjUser::hasToAcceptTermsOfServiceInSession | ( | ?bool | $status = null | ) |
Definition at line 4050 of file class.ilObjUser.php.
References ilSession\get(), ilTermsOfServiceHelper\isEnabled(), and ilSession\set().
Referenced by ilTermsOfServiceHelper\trackAcceptance().
ilObjUser::importPersonalData | ( | array | $a_file, |
bool | $a_profile_data, | ||
bool | $a_settings, | ||
bool | $a_notes, | ||
bool | $a_calendar | ||
) |
Definition at line 3964 of file class.ilObjUser.php.
ilObjUser::isAnonymous | ( | ) |
Definition at line 4063 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by ilUsersGalleryGUI\addActionSection(), ilMailGlobalServices\getNewMailsData(), and ilTermsOfServiceHelper\isIncludedUser().
ilObjUser::isCurrentUserActive | ( | ) |
ilObjUser::isPasswordChangeDemanded | ( | ) |
Definition at line 1811 of file class.ilObjUser.php.
References ilSecuritySettings\_getInstance(), ilAuthUtils\_needsExternalAccountByAuthMode(), ANONYMOUS_USER_ID, getAuthMode(), ilUserPasswordManager\getInstance(), getLastPasswordChangeTS(), getPasswordPolicyResetStatus(), and SYSTEM_USER_ID.
ilObjUser::isPasswordExpired | ( | ) |
Definition at line 1840 of file class.ilObjUser.php.
References ilSecuritySettings\_getInstance(), ilAuthUtils\_needsExternalAccountByAuthMode(), ANONYMOUS_USER_ID, getAuthMode(), and getLastPasswordChangeTS().
ilObjUser::isSelfRegistered | ( | ) |
|
static |
Definition at line 1436 of file class.ilObjUser.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjCourseGrouping\_checkGroupingDependencies().
|
static |
lookup org unit representation
Definition at line 2592 of file class.ilObjUser.php.
Referenced by ilPRGAssignmentDBRepository\buildUserInformation(), ilUserTableGUI\getItems(), ilStudyProgrammeMailTemplateContext\getSpecificPlaceholders(), and ilMemberExport\write().
ilObjUser::read | ( | ) |
Definition at line 143 of file class.ilObjUser.php.
References $data, ilObject\$db, $DIC, $ilDB, $ilErr, assignData(), readMultiTextFields(), readPrefs(), readUserDefinedFields(), setLastPasswordChangeTS(), setLoginAttempts(), setPasswordPolicyResetStatus(), ilStyleDefinition\skinExists(), ilStyleDefinition\styleExists(), and ilStyleDefinition\styleExistsForSkinId().
Referenced by __construct(), and update().
|
protected |
Definition at line 4188 of file class.ilObjUser.php.
References $DIC, $ilDB, ilObject\getId(), setGeneralInterests(), setLookingForHelp(), and setOfferingHelp().
Referenced by read().
ilObjUser::readPrefs | ( | ) |
Definition at line 1055 of file class.ilObjUser.php.
References $prefs.
Referenced by read().
ilObjUser::readUserDefinedFields | ( | ) |
Definition at line 2988 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by read().
ilObjUser::refreshLogin | ( | ) |
updates the login data of a "user"
Definition at line 723 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and getFirstLogin().
ilObjUser::removeDeletionFlag | ( | ) |
Definition at line 4078 of file class.ilObjUser.php.
References writePref().
ilObjUser::removeObjectFromClipboard | ( | int | $a_item_id, |
string | $a_type | ||
) |
Definition at line 2558 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and ilObject\getId().
ilObjUser::removeUserPicture | ( | bool | $a_do_update = true | ) |
Definition at line 2930 of file class.ilObjUser.php.
References ilObject\getId(), ilFileUtils\getWebspaceDir(), setPref(), and update().
Referenced by delete().
ilObjUser::resetLastPasswordChange | ( | ) |
Definition at line 1895 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, $query, and ilObject\getId().
ilObjUser::resetOwner | ( | ) |
Definition at line 3875 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, $query, 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 760 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, ilObject\getId(), ilUserPasswordManager\getInstance(), getPasswd(), getPasswordEncodingType(), and getPasswordSalt().
Referenced by ilPasswordAssistanceGUI\submitAssignPasswordForm(), and ilUserPasswordManager\verifyPassword().
ilObjUser::saveAsNew | ( | ) |
redundant data in object_data!
ilPasswordException | |
ilUserException |
Definition at line 324 of file class.ilObjUser.php.
References ilObject\$db, $DIC, $ilDB, $ilErr, $passwd, getAuthMode(), getBirthday(), getExternalAccount(), ilUserPasswordManager\getInstance(), getPasswd(), getPasswordEncodingType(), getPasswordSalt(), getProfileIncomplete(), getTimeLimitFrom(), getTimeLimitOwner(), getTimeLimitUnlimited(), getTimeLimitUntil(), ILIAS\UI\examples\Symbol\Glyph\Login\login(), ilUtil\now(), setInactivationDate(), updateMultiTextFields(), and updateUserDefinedFields().
ilObjUser::sendPersonalDataFile | ( | ) |
Definition at line 3955 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 1654 of file class.ilObjUser.php.
References setApproveDate(), and ilObject\setOwner().
Referenced by ilStartUpGUI\_checkGoto(), shibUser\create(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), ilStartUpGUI\processCode(), and syncActive().
ilObjUser::setAgreeDate | ( | ?string | $a_str | ) |
Definition at line 1645 of file class.ilObjUser.php.
Referenced by ilTermsOfServiceHelper\resetAcceptance().
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 1631 of file class.ilObjUser.php.
Referenced by setActive().
ilObjUser::setAuthMode | ( | ?string | $a_str | ) |
Definition at line 2603 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setBirthday | ( | ?string | $a_birthday | ) |
Definition at line 3766 of file class.ilObjUser.php.
References IL_CAL_DATE.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setCity | ( | string | $a_str | ) |
Definition at line 1330 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setClientIP | ( | string | $a_str | ) |
Definition at line 1416 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setComment | ( | string | $a_str | ) |
Definition at line 1617 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setCountry | ( | string | $a_str | ) |
Definition at line 1350 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 1572 of file class.ilObjUser.php.
References ilSession\set().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\initLanguage().
ilObjUser::setDepartment | ( | string | $a_str | ) |
Definition at line 1310 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setEmail | ( | string | $a_str | ) |
Definition at line 1449 of file class.ilObjUser.php.
Referenced by ilMailMimeSenderUserByEmailAddress\__construct(), assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setExternalAccount | ( | string | $a_str | ) |
Definition at line 2616 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setFax | ( | string | $a_str | ) |
Definition at line 1406 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setFirstLogin | ( | string | $a_str | ) |
Definition at line 1587 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setFirstname | ( | string | $a_str | ) |
Definition at line 1280 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 1175 of file class.ilObjUser.php.
References $lastname.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setGender | ( | string | $a_str | ) |
Definition at line 1255 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 4106 of file class.ilObjUser.php.
Referenced by ilObjUserGUI\loadValuesFromForm(), and readMultiTextFields().
ilObjUser::setHobby | ( | string | $a_str | ) |
Definition at line 1469 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setInactivationDate | ( | ?string | $inactivation_date | ) |
Definition at line 3994 of file class.ilObjUser.php.
References $inactivation_date.
Referenced by assignData(), saveAsNew(), and update().
ilObjUser::setInstitution | ( | string | $a_str | ) |
Definition at line 1300 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setIsSelfRegistered | ( | bool | $status | ) |
Definition at line 4088 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLanguage | ( | string | $a_str | ) |
Definition at line 1479 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 1577 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLastname | ( | string | $a_str | ) |
Definition at line 1290 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setLastPasswordChangeToNow | ( | ) |
Definition at line 1873 of file class.ilObjUser.php.
References $DIC, $ilDB, $query, getLastPasswordChangeTS(), and setLastPasswordChangeTS().
Referenced by shibUser\buildInstance(), and ilPasswordAssistanceGUI\submitAssignPasswordForm().
ilObjUser::setLastPasswordChangeTS | ( | int | $a_last_password_change_ts | ) |
Definition at line 1490 of file class.ilObjUser.php.
Referenced by ilStartUpGUI\_checkGoto(), read(), and setLastPasswordChangeToNow().
ilObjUser::setLastProfilePrompt | ( | string | $a_str | ) |
Definition at line 1597 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLastUpdate | ( | string | $a_str | ) |
Definition at line 1607 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLatitude | ( | ?string | $a_latitude | ) |
Definition at line 1913 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLocationZoom | ( | ?int | $a_locationzoom | ) |
Definition at line 1933 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLogin | ( | string | $a_str | ) |
Definition at line 1221 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 1777 of file class.ilObjUser.php.
Referenced by read().
ilObjUser::setLongitude | ( | ?string | $a_longitude | ) |
Definition at line 1923 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setLookingForHelp | ( | ?array | $value = null | ) |
string[]|null | $value |
Definition at line 4154 of file class.ilObjUser.php.
Referenced by ilObjUserGUI\loadValuesFromForm(), and readMultiTextFields().
ilObjUser::setMatriculation | ( | string | $a_str | ) |
Definition at line 1426 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 4130 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 1231 of file class.ilObjUser.php.
Referenced by ilStartUpGUI\_checkGoto(), assignData(), shibUser\createFields(), and ilUserPasswordManager\encodePassword().
ilObjUser::setPasswordEncodingType | ( | ?string | $password_encryption_type | ) |
Definition at line 217 of file class.ilObjUser.php.
Referenced by assignData(), and ilUserPasswordManager\encodePassword().
ilObjUser::setPasswordPolicyResetStatus | ( | bool | $status | ) |
Definition at line 1505 of file class.ilObjUser.php.
Referenced by read().
ilObjUser::setPasswordSalt | ( | ?string | $password_salt | ) |
Definition at line 227 of file class.ilObjUser.php.
References $password_salt.
Referenced by assignData(), and ilUserPasswordManager\encodePassword().
ilObjUser::setPhoneHome | ( | string | $a_str | ) |
Definition at line 1386 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setPhoneMobile | ( | string | $a_str | ) |
Definition at line 1396 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setPhoneOffice | ( | string | $a_str | ) |
Definition at line 1376 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 1020 of file class.ilObjUser.php.
Referenced by removeUserPicture(), assQuestionGUI\save(), assQuestionGUI\saveEdit(), ilUserPrivacySettingsGUI\savePrivacySettings(), assQuestionGUI\saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), ilProfileChecklistStatus\saveStepSucess(), setLanguage(), ilMembershipNotifications\toggleUser(), and writePref().
ilObjUser::setProfileIncomplete | ( | bool | $a_prof_inc | ) |
Definition at line 1798 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setSecondEmail | ( | ?string | $second_email | ) |
Definition at line 1464 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 1363 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setSkin | ( | string | $a_str | ) |
Definition at line 1722 of file class.ilObjUser.php.
ilObjUser::setStreet | ( | string | $a_str | ) |
Definition at line 1320 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and shibUser\updateFields().
ilObjUser::setTimeLimitFrom | ( | ?int | $a_from | ) |
Definition at line 1737 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setTimeLimitMessage | ( | string | $a_time_limit_message | ) |
Definition at line 1767 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setTimeLimitOwner | ( | int | $a_owner | ) |
Definition at line 1727 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setTimeLimitUnlimited | ( | bool | $a_unlimited | ) |
Definition at line 1757 of file class.ilObjUser.php.
Referenced by ilAccountCode\applyAccessLimits(), assignData(), shibUser\createFields(), ilObjUserGUI\loadValuesFromForm(), and ilStartUpGUI\processCode().
ilObjUser::setTimeLimitUntil | ( | ?int | $a_until | ) |
Definition at line 1747 of file class.ilObjUser.php.
Referenced by ilAccountCode\applyAccessLimits(), assignData(), shibUser\createFields(), ilECSAppEventListener\extendAccount(), ilObjUserGUI\loadValuesFromForm(), and ilStartUpGUI\processCode().
ilObjUser::setUserDefinedData | ( | array | $a_data | ) |
Definition at line 2965 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 1270 of file class.ilObjUser.php.
Referenced by assignData(), and ilObjUserGUI\loadValuesFromForm().
ilObjUser::setZipcode | ( | string | $a_str | ) |
Definition at line 1340 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 1696 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 1995 of file class.ilObjUser.php.
ilObjUser::update | ( | ) |
Definition at line 430 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(), ilUserPasswordManager\getInstance(), getPasswd(), getPasswordEncodingType(), getPasswordSalt(), getProfileIncomplete(), getStoredActive(), getTimeLimitFrom(), getTimeLimitMessage(), getTimeLimitOwner(), getTimeLimitUnlimited(), getTimeLimitUntil(), ILIAS\Repository\int(), ilUtil\now(), read(), setInactivationDate(), syncActive(), updateMultiTextFields(), ilObject\updateOwner(), updateUserDefinedFields(), and writePrefs().
Referenced by ilStartUpGUI\_checkGoto(), ilECSAppEventListener\extendAccount(), ilStartUpGUI\processCode(), removeUserPicture(), ilTermsOfServiceHelper\resetAcceptance(), ilUserPrivacySettingsGUI\savePrivacySettings(), ilProfileChecklistStatus\saveStepSucess(), and ilPasswordAssistanceGUI\submitAssignPasswordForm().
ilObjUser::updateLogin | ( | string | $a_login | ) |
update login name
string | new login |
ilDateTimeException | |
ilUserException |
Definition at line 848 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(), and ilLanguage\txt().
ilObjUser::updateMultiTextFields | ( | bool | $a_create = false | ) |
Definition at line 4223 of file class.ilObjUser.php.
References $DIC, ilObject\$id, $ilDB, deleteMultiTextFields(), getGeneralInterests(), ilObject\getId(), getLookingForHelp(), and getOfferingHelp().
Referenced by saveAsNew(), and update().
ilObjUser::updateUserDefinedFields | ( | ) |
Definition at line 2977 of file class.ilObjUser.php.
References ilObject\getId().
Referenced by saveAsNew(), and update().
|
static |
Definition at line 3909 of file class.ilObjUser.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilInfoScreenGUI\addMetaDataSections(), ilTrQuery\filterOutUsersWithoutData(), ilExerciseManagementCollectFilesJob\getAssignmentMembersIds(), ilObjForumAccess\getCachedUserInstance(), ilIndividualAssessmentMembersTableGUI\getGradedByInformation(), and ilNewsForContextBlockGUI\showNews().
ilObjUser::writeAccepted | ( | ) |
write accept date of user agreement
Definition at line 541 of file class.ilObjUser.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Referenced by ilTermsOfServiceHelper\trackAcceptance().
ilObjUser::writePref | ( | string | $a_keyword, |
string | $a_value | ||
) |
Definition at line 920 of file class.ilObjUser.php.
References setPref().
Referenced by activateDeletionFlag(), ilContainerSessionsContentGUI\initDetails(), removeDeletionFlag(), assQuestionGUI\save(), assQuestionGUI\saveEdit(), assQuestionGUI\saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
ilObjUser::writePrefs | ( | ) |
Definition at line 982 of file class.ilObjUser.php.
Referenced by ilMembershipNotifications\toggleUser(), and update().
int ilObjUser::$active = 0 |
Definition at line 82 of file class.ilObjUser.php.
Referenced by _getUsersForFolder(), _getUsersForIds(), _getUsersForRole(), getActive(), and update().
string ilObjUser::$agree_date = null |
Definition at line 81 of file class.ilObjUser.php.
Referenced by getAgreeDate(), and update().
string ilObjUser::$approve_date = null |
Definition at line 80 of file class.ilObjUser.php.
Referenced by getApproveDate(), and update().
string ilObjUser::$auth_mode = null |
Definition at line 84 of file class.ilObjUser.php.
Referenced by getAuthMode().
|
protected |
Definition at line 62 of file class.ilObjUser.php.
Referenced by getBirthday().
string ilObjUser::$city = "" |
Definition at line 67 of file class.ilObjUser.php.
string ilObjUser::$client_ip = "" |
Definition at line 83 of file class.ilObjUser.php.
Referenced by getClientIP(), and update().
string ilObjUser::$country = "" |
Definition at line 69 of file class.ilObjUser.php.
Referenced by getCountry(), and update().
string ilObjUser::$department = "" |
Definition at line 65 of file class.ilObjUser.php.
Referenced by getDepartment(), and update().
string ilObjUser::$email = "" |
Definition at line 75 of file class.ilObjUser.php.
Referenced by getEmail().
|
protected |
Definition at line 31 of file class.ilObjUser.php.
Referenced by getExternalAccount().
string ilObjUser::$fax = "" |
Definition at line 74 of file class.ilObjUser.php.
|
protected |
Definition at line 108 of file class.ilObjUser.php.
Referenced by getFirstLogin().
string ilObjUser::$firstname = "" |
Definition at line 60 of file class.ilObjUser.php.
Referenced by getFirstname().
string ilObjUser::$fullname = "" |
Definition at line 63 of file class.ilObjUser.php.
Referenced by _lookupFullname().
string ilObjUser::$gender = "" |
Definition at line 58 of file class.ilObjUser.php.
Referenced by getGender(), and update().
string ilObjUser::$hobby = "" |
Definition at line 77 of file class.ilObjUser.php.
Referenced by getHobby(), and update().
|
protected |
Definition at line 98 of file class.ilObjUser.php.
Referenced by getInactivationDate(), setInactivationDate(), and update().
string ilObjUser::$institution = "" |
Definition at line 64 of file class.ilObjUser.php.
Referenced by getInstitution(), and update().
|
protected |
Definition at line 102 of file class.ilObjUser.php.
Referenced by getGeneralInterests().
|
protected |
Definition at line 106 of file class.ilObjUser.php.
Referenced by getLookingForHelp().
|
protected |
Definition at line 104 of file class.ilObjUser.php.
Referenced by getOfferingHelp().
|
private |
Definition at line 99 of file class.ilObjUser.php.
Referenced by isSelfRegistered().
|
protected |
Definition at line 37 of file class.ilObjUser.php.
Referenced by getLastLogin().
int ilObjUser::$last_password_change_ts = 0 |
Definition at line 88 of file class.ilObjUser.php.
Referenced by getLastPasswordChangeTS().
|
protected |
Definition at line 107 of file class.ilObjUser.php.
Referenced by getLastProfilePrompt().
string ilObjUser::$lastname = "" |
Definition at line 61 of file class.ilObjUser.php.
Referenced by getLastname(), and setFullname().
string ilObjUser::$latitude = null |
Definition at line 85 of file class.ilObjUser.php.
Referenced by getLatitude(), and update().
string ilObjUser::$loc_zoom = null |
Definition at line 87 of file class.ilObjUser.php.
Referenced by getLocationZoom().
string ilObjUser::$login = '' |
Definition at line 39 of file class.ilObjUser.php.
Referenced by getLogin(), getLoginFromAuth(), and shibUser\returnNewLoginName().
int ilObjUser::$login_attempts = 0 |
Definition at line 90 of file class.ilObjUser.php.
Referenced by getLoginAttempts().
string ilObjUser::$longitude = null |
Definition at line 86 of file class.ilObjUser.php.
Referenced by getLongitude(), and update().
string ilObjUser::$matriculation = "" |
Definition at line 78 of file class.ilObjUser.php.
Referenced by getMatriculation(), and update().
|
protected |
Definition at line 93 of file class.ilObjUser.php.
|
protected |
Definition at line 100 of file class.ilObjUser.php.
|
protected |
Definition at line 40 of file class.ilObjUser.php.
Referenced by getPasswd(), saveAsNew(), and update().
|
protected |
Definition at line 89 of file class.ilObjUser.php.
Referenced by getPasswordPolicyResetStatus().
|
protected |
Definition at line 41 of file class.ilObjUser.php.
Referenced by getPasswdType().
|
protected |
Definition at line 55 of file class.ilObjUser.php.
Referenced by getPasswordEncodingType().
|
protected |
Definition at line 57 of file class.ilObjUser.php.
Referenced by getPasswordSalt(), and setPasswordSalt().
|
staticprotected |
Definition at line 97 of file class.ilObjUser.php.
string ilObjUser::$phone_home = "" |
Definition at line 72 of file class.ilObjUser.php.
Referenced by getPhoneHome(), and update().
string ilObjUser::$phone_mobile = "" |
Definition at line 73 of file class.ilObjUser.php.
Referenced by getPhoneMobile(), and update().
string ilObjUser::$phone_office = "" |
Definition at line 71 of file class.ilObjUser.php.
Referenced by getPhoneOffice(), and update().
array ilObjUser::$prefs = [] |
Definition at line 95 of file class.ilObjUser.php.
Referenced by _getPreferences(), and readPrefs().
|
protected |
Definition at line 109 of file class.ilObjUser.php.
Referenced by getProfileIncomplete().
string ilObjUser::$referral_comment = "" |
Definition at line 79 of file class.ilObjUser.php.
Referenced by getComment(), and update().
|
protected |
Definition at line 76 of file class.ilObjUser.php.
Referenced by getSecondEmail(), and setSecondEmail().
string ilObjUser::$sel_country = "" |
Definition at line 70 of file class.ilObjUser.php.
Referenced by getSelectedCountry(), and update().
string ilObjUser::$skin = "" |
Definition at line 96 of file class.ilObjUser.php.
Referenced by __construct().
string ilObjUser::$street = "" |
Definition at line 66 of file class.ilObjUser.php.
Referenced by getStreet(), and update().
|
protected |
Definition at line 35 of file class.ilObjUser.php.
Referenced by getTimeLimitFrom().
|
protected |
Definition at line 32 of file class.ilObjUser.php.
Referenced by getTimeLimitMessage().
|
protected |
Definition at line 36 of file class.ilObjUser.php.
|
protected |
Definition at line 33 of file class.ilObjUser.php.
Referenced by getTimeLimitUnlimited().
|
protected |
Definition at line 34 of file class.ilObjUser.php.
Referenced by getTimeLimitUntil().
array ilObjUser::$user_defined_data = array() |
Definition at line 91 of file class.ilObjUser.php.
string ilObjUser::$utitle = "" |
Definition at line 59 of file class.ilObjUser.php.
Referenced by getUTitle(), and update().
string ilObjUser::$zipcode = "" |
Definition at line 68 of file class.ilObjUser.php.
Referenced by getZipcode(), and update().
const ilObjUser::PASSWD_CRYPTED = "crypted" |
Definition at line 30 of file class.ilObjUser.php.
Referenced by shibUser\createFields(), ilAuthProviderECS\createUser(), ilAuthProviderLTI\createUser(), ilUserPasswordManager\encodePassword(), ilAuthProviderSoap\handleSoapAuth(), ilUserImportParser\importEndTag(), ilObjUserPasswordTest\testPasswordManagerEncodesRawPasswordWithoutSalt(), ilObjUserPasswordTest\testPasswordManagerEncodesRawPasswordWithSalt(), and ilUserImportParser\verifyEndTag().
const ilObjUser::PASSWD_PLAIN = "plain" |
Definition at line 29 of file class.ilObjUser.php.
Referenced by ilStartUpGUI\_checkGoto(), ilAuthProviderSoap\handleSoapAuth(), ilUserImportParser\importEndTag(), ilObjUserGUI\loadUserDefinedDataFromForm(), ilObjUserGUI\saveObject(), and ilUserImportParser\verifyEndTag().