Hello,
I read that the session table can only be accessed from NAV if you are SUPER.
(https://community.dynamics.com/nav/f/34/t/141815?pi51428=1#responses)
I wonder if something similar can be the case for accessing the user card?
My scenario is in NAV2013R2.
I go to the users list page and from there I try to access another user's card. Then I get the error:
You have not been granted permission to perform the current activity.
Page Edit - User Card must close.
The user is not SUPER, but among others it has the BASIC that includes read permission to the user table (2000000120). It is sysadmin in SQL.
I debug it and it cracks in codeunit 9801 Identity Management, in the following function:
GetWebServiceExpiryDate(UserSecurityID : GUID) ExpiryDate : DateTime
IF NOT UserAccountHelper.TryGetWebServicesKey(UserSecurityID,Key,ExpiryDate) THEN
ERROR(GETLASTERRORTEXT);
but I don't know what happens inside that TryGetWebServicesKey function.
Any advice on this?
Thanks,
Tomas
I read that the session table can only be accessed from NAV if you are SUPER.
(https://community.dynamics.com/nav/f/34/t/141815?pi51428=1#responses)
I wonder if something similar can be the case for accessing the user card?
My scenario is in NAV2013R2.
I go to the users list page and from there I try to access another user's card. Then I get the error:
You have not been granted permission to perform the current activity.
Page Edit - User Card must close.
The user is not SUPER, but among others it has the BASIC that includes read permission to the user table (2000000120). It is sysadmin in SQL.
I debug it and it cracks in codeunit 9801 Identity Management, in the following function:
GetWebServiceExpiryDate(UserSecurityID : GUID) ExpiryDate : DateTime
IF NOT UserAccountHelper.TryGetWebServicesKey(UserSecurityID,Key,ExpiryDate) THEN
ERROR(GETLASTERRORTEXT);
but I don't know what happens inside that TryGetWebServicesKey function.
Any advice on this?
Thanks,
Tomas