web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

make a report that will show users and windows uses by them

(0) ShareShare
ReportReport
Posted on by

Hi,

I will like to know in which table I could found all the windows names  in GP 2010 r2 and the table that link the Task and windows, with that I could make a report (Crystal Report) that show for each user which windows he have access to. 

 

thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mike Smith Profile Picture
    6,840 on at

    I haven't tested this but it looks like you can use:

    SY10500 (User and Security Role)

    SY10600 (Security Task)

    SY10700 (Looks like a table between Security Task and Windows/Reports/Etc...)

    SY09400 (Product, Type (Window), Display Name, Series)

    Heres the query I used to pull this together:

    SELECT

    USERS.USERID,

    USERS.SECURITYROLEID,

    SECURITYTASKS.SECURITYTASKID,

    WINDOWACCESS.PRODNAME,

    WINDOWACCESS.TYPESTR,

    WINDOWACCESS.DSPLNAME,

    WINDOWACCESS.Series_Name

    FROM

    SY10500 AS USERS

    LEFT OUTER JOIN SY10600 AS SECURITYTASKS ON USERS.SECURITYROLEID = SECURITYTASKS.SECURITYROLEID

    LEFT OUTER JOIN SY10700 AS SECURITYTASKDEF ON SECURITYTASKS.SECURITYTASKID = SECURITYTASKDEF.SECURITYTASKID

    LEFT OUTER JOIN SY09400 AS WINDOWACCESS ON SECURITYTASKDEF.SECURITYID = WINDOWACCESS.SECURITYID

    WHERE WINDOWACCESS.TYPESTR = 'Windows'

  • Community Member Profile Picture
    on at

    Thanks Mike,

    But didn't work, the query result is empty... maybe because my sy09400 table is empty?...  I did create some users and link some role to them?

    Alain

  • Victoria Yudin Profile Picture
    22,769 on at

    Hi Alain,

    This may be what you're looking for: victoriayudin.com/.../sql-view-with-security-resource-details-for-dynamics-gp-10.  While it says it's for GP 10, it will also work for GP 2010 (I will add a note in there to reflect that).  To populate the SY09400 table you will need to follow the steps above the script.  :-)

  • Community Member Profile Picture
    on at

    Thanks Victoria,

    Your the best ...  :-)

    Alain

  • Meimei Profile Picture
    5 on at

    Hi,

    I followed the steps to do clear data for the table, but the sy09400 table is still blank, anybody have any idea why?

    Thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
talty09 Profile Picture

talty09 2

#1
Anthony Beatty Profile Picture

Anthony Beatty 2

#3
CP04-islander Profile Picture

CP04-islander 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans