OutlookUserSetup::findByUser Method
Finds the specified record in the OutlookUserSetupTest table, depending on the specified UserId field value.
Syntax
client server public static OutlookUserSetup findByUser(
[UserId _userId,
boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _userId
Type: UserId Extended Data Type
A UserId field value.
- _forUpdate
Type: boolean
A Boolean value that specifies whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
An enumeration value that indicates the concurrency setting to use on the table; optional.
Return Value
Type: OutlookUserSetup Table
A record from the OutlookUserSetup table; otherwise, an empty record. See remarks below.
Remarks
If no values are supplied for both the parameters, they default to now. Therefore, the method searches for only active records and returns either an empty or a valid record.
The method searches for the User and returns either an empty or a valid record.