Hi, i want to read the record level security details programmatically for specific current user and its group in AX 2009 and apply the filter on a table. I wrote the following code but not successfull. Please correct me in this problem.
Thanks, Sayeed SysRecordLevelSecurity srls; UserGroupList userGroupList; UserGroupInfo userGroupInfo; UserInfo userInfo; anytype any; ; select userGroupList where userGroupList.userId == "oalah"; select userGroupInfo where userGroupInfo.id == userGroupList.groupId; select srls where srls.companyId == "ajp" && srls.groupId == userGroupList.groupId && srls.tabId == tablenum(CustTable);