We can get the logged in user GUID in the custom reports deployed in CRM using “fn_FindUserGuid()” function
Below is the sample query for the same
DECLARE @currUserId UNIQUEIDENTIFIER
SELECT @currUserId=dbo.fn_FindUserGuid()
PRINT @currUserId
🙂
We can get the logged in user GUID in the custom reports deployed in CRM using “fn_FindUserGuid()” function
Below is the sample query for the same
DECLARE @currUserId UNIQUEIDENTIFIER
SELECT @currUserId=dbo.fn_FindUserGuid()
PRINT @currUserId
🙂
2,102,691 hits
Leave a comment