DirPersonUser::createDirPersonUser Method
Assigns a user name to a person.
Syntax
client server public static DirPersonUser createDirPersonUser(
UserId _user,
DirPartyRecId _person,
[ValidFromDateTime _validFrom,
ValidToDateTime _validTo])
Run On
Called
Parameters
- _user
Type: UserId Extended Data Type
The user name.
- _person
Type: DirPartyRecId Extended Data Type
The person party ID.
- _validFrom
Type: ValidFromDateTime Extended Data Type
An effective from date
- _validTo
Type: ValidToDateTime Extended Data Type
An effective to date.
Return Value
Type: DirPersonUser Table
The found or created record for the relationship.