Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Direct Me to Tables for Assigning Role For User Security

Posted on by Microsoft Employee

I am setting-up roles in 2013 Dynamics GP, so I can deploy user security.  Please assist me by telling me how to get to the right tables and make the role assignments.  Thanks,

bj

*This post is locked for comments

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Direct Me to Tables for Assigning Role For User Security

    Please never hesitate to share any further inquiries.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Direct Me to Tables for Assigning Role For User Security

    Thank you for taking the time.

    Your assistance is greatly appreciated,

    bj

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: Direct Me to Tables for Assigning Role For User Security

    Do you guys have customizations? If yes it would be little complex for you.

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Direct Me to Tables for Assigning Role For User Security

    Find the list below;

    In order to limit down your options, find the references below for all dynamics gp tables;

    1. Dynamics GP Table reference
    2. MVP Mark Polino reference of Dynamics GP Tables
    3. On your Dynamics GP: Tools > Resource Description > Tables

    In addition, if you are thinking about scripting out some data from the security tables, you could consider the following SQL view as a start;


    SELECT  SR.CMPNYNAM  AS 'Company Name',
            USERID AS 'GP User ID',
            ST.SECURITYROLEID AS 'Security Role ID',
            ST.SECURITYTASKID AS 'Security Task ID',
            ST.SECURITYTASKNAME AS 'Security Task Name' ,
            ST.SECURITYTASKDESC AS 'Security Task Description'
    FROM    ( SELECT    [CMPNYNAM] ,
                        [USERID] ,
                        [SECURITYROLEID]
              FROM      [SY10500] AS A
                        INNER JOIN [SY01500] AS B ON A.[CMPANYID] = B.[CMPANYID]
            ) AS SR
            LEFT OUTER JOIN
            ( SELECT    C.[SECURITYROLEID] ,
                        C.[SECURITYTASKID] ,
                        D.[SECURITYTASKNAME] ,
                        D.[SECURITYTASKDESC]
              FROM      [SY10600] AS C
              INNER JOIN [SY09000] AS D ON C.[SECURITYTASKID] = D.[SECURITYTASKID]
             ) AS ST ON ST.SECURITYROLEID = SR.SECURITYROLEID
     

    Further illustration on the script above can be found on the link below;

    User Security Role Enhancement–Intersect

    Hope this helps,

  • Suggested answer
    soma Profile Picture
    soma 24,406 on at
    RE: Direct Me to Tables for Assigning Role For User Security

    SY10500 -- User role assignment

    SY10600 -- Task and role assignment

    SY09000 -- Task Master

    SY10700 -- Operation in Task

    SY09400 -- Resource description (This table contains values after processing the clear table in GP-->Maintenance-->Clear Data ) The values for this table have the operation in task along with resource name.

    Hope this helps!!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans