- Added the update keyword allowing modification for one field.
This commit is contained in:
1 parent
fa806e8e0d
commit
1b11917bf5
9 files changed
+186
-21
No files matched your search
+15
-5
@@ -12,7 +12,7 @@ class User
|
||||
use \Ulmus\Ldap\EntityTrait;
|
||||
|
||||
/**
|
||||
* @Id
|
||||
* @Field
|
||||
*/
|
||||
public string $samaccountname;
|
||||
|
||||
@@ -111,20 +111,30 @@ class User
|
||||
*/
|
||||
public int $logonCount;
|
||||
|
||||
/**
|
||||
* @Field('name' => 'unicodePwd')
|
||||
*/
|
||||
public string $unicodePassword;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
public string $userPassword;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
public Datetime $lastLogonDate;
|
||||
|
||||
/**
|
||||
* @Field('name' => 'createTimeStamp')
|
||||
* #Field('name' => 'createTimeStamp')
|
||||
*/
|
||||
public Datetime $createdAt;
|
||||
# public Datetime $createdAt;
|
||||
|
||||
/**
|
||||
* @Field('name' => 'modifyTimeStamp')
|
||||
* #Field('name' => 'modifyTimeStamp')
|
||||
*/
|
||||
public Datetime $updatedAt;
|
||||
# public Datetime $updatedAt;
|
||||
|
||||
public function __toString() : string
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user