Dynamics AX 2009的“用户组权限"

编程入门 行业动态 更新时间:2024-10-26 22:23:14
本文介绍了Dynamics AX 2009的“用户组权限"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想准备非常快速的用户组权限",但是这非常困难,例如,如果我想添加对管理"的访问权限->位置视图",则此软件仅授予父级权限,而不授予该父级中的所有节点.我应该怎么做才能解决这个问题?

I would like to prepare very fast "user group permission" but this is very difficult for example If I would like to add access for Administration ->Location View this software give only permission for parent but not for all nodes in this parent. What should I do to fix this problem?

如果我要单击维度集,则需要对该父级中的所有子级都具有权限.你知道我该怎么办吗?

If I will click Dimension sets I need make permission to all child in this parent. Do you know what I have to do?

public void MCOVgrantFullAccess(SecurityKeySet _startSecurityKeySet = null) { //klasa systemowa dictionary msdn.microsoft/en-us/library/aa600103(v=ax.50).aspx Dictionary dictionary = new Dictionary(); DictSecurityKey dictSecurityKey; int i; if (_startSecurityKeySet) securitySet = _startSecurityKeySet; else securitySet = SysSecurity::constructSecurityKeySet(); // securityKeyCnt() An integer that indicates the number of security keys. msdn.microsoft/en-us/library/aa600103(v=ax.50).aspx // i = 365 for (i=dictionary.securityKeyCnt(); i; i--) { dictSecurityKey = new DictSecurityKey(dictionary.securityKeyCnt2Id(1)); if (!dictSecurityKey.parentSecurityKeyId()) { securitySet.access(dictSecurityKey.id(), AccessType::Delete); } } SysSecurityFormSetup::delete(userGroupId, domainId); //Delete setup of form controls formSetupMap = new Map(Types::String, Types::Class); //Clear cache }

推荐答案

如果要设置安全性,则必须遵循应该"遵循的流程,首先要收集最终用户执行的流程,然后根据以下内容定义安全角色在这些过程上,然后设置组.我曾接受MS合作伙伴的安全培训,我们从未对任何内容进行硬编码. 管理"模块中有一个用于安全的设置区域,您可以在其中定义用户组和其中的权限,然后将用户分配给组,还可以在此处为单个记录设置记录级别的安全性.

If you are setting up security there is a process which 'should' be followed, you start with gathering processes end-users carry out, define the security roles based on these processes and then set up the groups. I have been trained by MS Partners in security and we never hard-coded anything. There is a set area for security in the Administration module, in here you can define user groups and the permissions within, then assign users to a group, can also set up record level security from here for individual records.

更多推荐

Dynamics AX 2009的“用户组权限"

本文发布于:2023-10-30 03:23:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541618.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:用户组   权限   AX   Dynamics   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!