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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

XDS Security 2012 R3

(0) ShareShare
ReportReport
Posted on by

Ok I am confused with XDS in 2012. In the older  version it used to easier by using record security, but since Msft has deprecated that we have decided not to use it anymore. I am trying to setup a basic XDS policy that prevents users from viewing intercompany vendors. here is what I did:

1. Created a query (NoIntercompanyVendor) from Vendor Group Table (Vend Group) with Range on VendGroup field as !INTER

2. Created a new security policy (NoIntercompanyVendor)

 - Primary Table: VendGroup

- Query: NoIntercompanyVendor

- Constrained Table: Yes (Added VendTable; Table Relation is VendGroup)

- Enabled: Yes

- Operation: Select

- Context Type: Context String

- Context String: NoIntercompanyVendor

3. Go the appropriate role and assign the context string above

I assigned the role to a test user, but when I open the vendor form I can still see the intercompany vendor. 

Can someone please tell me where did I go wrong or what I missed??

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi BigRedH,

    There are one parameter you need to change and another can be changed optional.

    To have it working, you need to change the ContextType property to have the value 'RoleProperty'. Contect string is used in x++ logic.

    Optional you can change the Operation property to 'All operations'. This also prevents the user for inserting new records.

    Also make sure the test user has no System administrator role assigned as this role causes a bypass for all security, also XDS.

  • Community Member Profile Picture
    on at

    Thanks Andre, that worked.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans