saravanakumar
Member
Team,
It would be of great help if someone can pull me out from my problem. Here is my problem;
Here is the log file result;
05/08/2009 15:10:08.503+00:00 The UserProfile.userProfileID is |867163
05/08/2009 15:10:08.503+00:00 The UserProfile.UserID is |0
When i query the same through Procedure Editor, am getting the below proper value;
User Profile ID : 867,163
User ID : 915,616
Please let me know if more information is required. Please let em know if am missing out something. Thanks in advance..!
It would be of great help if someone can pull me out from my problem. Here is my problem;
Is there a possibility to get proper "userProfileID" and "UserID" as 0. I am not sure how come after choosing the userprofileid for the matching userid the userid becomes 0?FUNCTION fnWriteErrorLog RETURNS LOGICAL (INPUT iplStartErrorLogging AS LOGICAL,
INPUT ipcErrorLogString AS CHARACTER):
IF NOT iplStartErrorLogging THEN
RETURN FALSE.
PUT STREAM stErrorLog UNFORMATTED STRING(NOW) ' ' ipcErrorLogString SKIP.
RETURN TRUE.
END FUNCTION. /* fnWriteErrorLog */
lStartErrorLogging = YES.
FIND FIRST userprofile NO-LOCK WHERE userprofile.userid = cUserId NO-ERROR.
IF AVAILABLE userprofile THEN
DO:
fnWriteErrorLog(INPUT lStartErrorLogging,
INPUT 'The UserProfile.userProfileID is ' + ' |' + STRING(UserProfile.userProfileID)).
fnWriteErrorLog(INPUT lStartErrorLogging,
INPUT 'The UserProfile.UserID is ' + ' |' + STRING(UserProfile.UserID)).
END.
Here is the log file result;
05/08/2009 15:10:08.503+00:00 The UserProfile.userProfileID is |867163
05/08/2009 15:10:08.503+00:00 The UserProfile.UserID is |0
When i query the same through Procedure Editor, am getting the below proper value;
User Profile ID : 867,163
User ID : 915,616
Please let me know if more information is required. Please let em know if am missing out something. Thanks in advance..!