Created
December 28, 2022 08:05
-
-
Save BedrosovaYulia/53c300b4c8822f63b1f579293793b12c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$dbUser = \Bitrix\Main\UserTable::getList(array( | |
'select' =>array('ID','LOGIN'), | |
'filter' => array('ID' => 198) | |
)); | |
while ($arUser = $dbUser->fetch()){ | |
$qText="update b_user set PASSWORD_EXPIRED='Y' WHERE ID=".$arUser['ID']; | |
print $qText; | |
print "<br/>"; | |
global $DB; | |
$res = $DB->Query($qText); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment