Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Transfer Record Level Security from Different Environment

$
0
0

We have resolved the issue. Here are the steps:

1. Copy securityrole table from source environment

2. Update recid base on the table copy on step 1 to target environment via below statement:

UPDATE  A

SET     A.SECURITYROLE = C.RECID

FROM    SYSRECORDLEVELSECURITY A

       INNER JOIN avSecurityrole_SourceServer B ON A.SECURITYROLE = B.RECID

       INNER JOIN AX2012_model.dbo.securityrole C ON C.Name = B.Name;

COMMIT


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>