WorkOS PHP SDK

DsyncGroupUserRemovedDataUser
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

The directory user removed from the group.

Table of Contents

Interfaces

JsonSerializable

Properties

$createdAt  : DateTimeImmutable
An ISO 8601 timestamp.
$customAttributes  : array<string, mixed>
An object containing the custom attribute mapping for the Directory Provider.
$directoryId  : string
The identifier of the Directory the Directory User belongs to.
$email  : string|null
The email address of the user.
$emails  : array<string|int, DsyncGroupUserRemovedDataUserEmail>|null
A list of email addresses for the user.
$firstName  : string|null
The first name of the user.
$id  : string
Unique identifier for the Directory User.
$idpId  : string
Unique identifier for the user, assigned by the Directory Provider. Different Directory Providers use different ID formats.
$jobTitle  : string|null
The job title of the user.
$lastName  : string|null
The last name of the user.
$object  : string
Distinguishes the Directory User object.
$organizationId  : string
The identifier for the Organization in which the Directory resides.
$rawAttributes  : array<string, mixed>
The raw attributes received from the directory provider.
$role  : DsyncGroupUserRemovedDataUserRole|null
The primary role assigned to the user.
$roles  : array<string|int, DsyncGroupUserRemovedDataUserRole>|null
All roles assigned to the user.
$state  : DsyncUserCreatedDataState
The state of the user.
$updatedAt  : DateTimeImmutable
An ISO 8601 timestamp.
$username  : string|null
The username of the user.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

$customAttributes

An object containing the custom attribute mapping for the Directory Provider.

public array<string, mixed> $customAttributes

$idpId

Unique identifier for the user, assigned by the Directory Provider. Different Directory Providers use different ID formats.

public string $idpId

Methods

__construct()

public __construct(string $object, string $id, string $directoryId, string $organizationId, string $idpId, string|null $email, DsyncUserCreatedDataState $state, array<string|int, mixed> $rawAttributes, array<string|int, mixed> $customAttributes, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt[, string|null $firstName = null ][, string|null $lastName = null ][, array<string|int, mixed>|null $emails = null ][, string|null $jobTitle = null ][, string|null $username = null ][, DsyncGroupUserRemovedDataUserRole|null $role = null ][, array<string|int, mixed>|null $roles = null ]) : mixed
Parameters
$object : string
$id : string
$directoryId : string
$organizationId : string
$idpId : string
$email : string|null
$state : DsyncUserCreatedDataState
$rawAttributes : array<string|int, mixed>
$customAttributes : array<string|int, mixed>
$createdAt : DateTimeImmutable
$updatedAt : DateTimeImmutable
$firstName : string|null = null
$lastName : string|null = null
$emails : array<string|int, mixed>|null = null
$jobTitle : string|null = null
$username : string|null = null
$role : DsyncGroupUserRemovedDataUserRole|null = null
$roles : array<string|int, mixed>|null = null

fromArray()

public static fromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Return values
self

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results