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)

VBA Access security role

(0) ShareShare
ReportReport
Posted on by

hi all,

using VBA, is it possible to get details about security roles and tasks about the current user.  I tried Userinfo object, it provides basic information the user.  Is there any alternative way for this.  Any reply will be highly appreciated.

thanks in advance,

arun.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    on at

    You can query the following table...

     

  • Suggested answer
    Mahmoud Saadi Profile Picture
    32,738 on at

    I believe you would consider the method provided by Mr. David, to open a connection string with the database, retrieve the required security roles and tasks and close the connection. Check the following reference, it me be useful:

    Using VBA 

    On the other hand, to get this done, I would not recommend reinventing the wheel, the Support Debugging Tool already has already solved this out.

    Check the following reference:

    How to identify the security roles and tasks using Support Debugging Tool.

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans