romacode.com
  • Blog
  • Umbraco CMS
  • ASP.NET
  • Kentico CMS
  • Entity Framework
  • Contact
  • MyTrafficRoutes.com

How to check if the current user is in a User Group in Dynamics AX

Thu Dec 29 2011

Dynamics AXx++

Use the following code:

boolean check = UserInfoHelp::userInUserGroup(curUserId(), "GroupName");
C# 22
ASP.NET 17
SQL 10
Entity Framework 9
Dynamics AX 7
Kentico 7
x++ 5
Git 4
jQuery 4
Javascript 4
MacOS 3
Umbraco 3
Docker 2
Ubuntu 2
Qlikview 1
AngularJS 1
iOS 1
Objective-C 1
VB.NET 1
Razor 1
Gnome Shell 1
HTML 1
Linux 1
Python 1

Recent Posts

  • How to ignore files temporarily in git
  • How to get started with Microsoft SQL Server on Linux using Docker
  • Using Build Arguments in Docker Build
  • AutoHotKey script for mapping the Apple Key to Control Key
  • Fix for git not fetching all branches

romacode.com

  • Home
  • Blog
  • Contact
  • MyTrafficRoutes.com
Powered by
Kentico Cloud
+ React
+ AWS