Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether a relation is in the UserExternalParty table for a given user.
Syntax
client server public static boolean existUser(
    UserId _userId, 
    UserExternalPartyEntityType _entityType, 
    DirPartyRecId _externalParty, 
   [DataAreaId _dataAreaId])
Run On
Called
Parameters
- _userId
 Type: UserId Extended Data Type
 The ID of the user for which to check for a relation.
- _entityType
 Type: UserExternalPartyEntityType Enumeration
 The entity type of the external party.
- _externalParty
 Type: DirPartyRecId Extended Data Type
 The external party related to the user.
- _dataAreaId
 Type: DataAreaId Extended Data Type
 The legal entity of the external entity.
Return Value
Type: boolean
true if a relation for the user exists; otherwise, false.