AifPortUser::isValidUser Method
Checks whether the user is authorized for this port, and whether the user is an active Microsoft Dynamics AX user.
Syntax
client server public static boolean isValidUser(
AifInboundPort _inboundPort,
UserId _sourceAxUserId,
UserId _submittingAxUserId,
AifWindowsUser _submittingWindowsUser)
Run On
Called
Parameters
- _inboundPort
Type: AifInboundPort Table
An incoming port record.
- _sourceAxUserId
Type: UserId Extended Data Type
The authorized user who must be validated against the port.
- _submittingAxUserId
Type: UserId Extended Data Type
The submitting user who must be validated against the port.
- _submittingWindowsUser
Type: AifWindowsUser Extended Data Type
The submitting Windows user who must be validated against the port.
Return Value
Type: boolean
true if the user is a valid user; otherwise, false.
Remarks
The source user can only be an external user if there is a valid trusted intermediary.
The trusted intermediary can never be an external user.