Passing UID to Crystal Reports

Is there a way to pass the currently logged in users nUserUID and/or nFacilityUID to Crystal Reports without using a prompt in Met/Team?

In the documentation for Data Check SQL:

The following list contains special string-replace keys for use within SQL statements. This token system provides enhanced security while enabling the ability to access need information.


strUserUID - This token is replaced with the UID of the currently logged in user.

strActiveFacilityUID - This token is replaced with the UID of the facility current user is logged into.


This is exactly the information I would like to pass to Crystal when a user launches a report. Has anyone been able to set something like this up and if so, how did you do it?

Please sign in to leave a comment.