概述
通过“管理访问权限”页面的“分配角色”选项卡,您可以搜索组织级别已存在的用户和组,并在 Orchestrator 中为其配置权限。
组配置(角色、网页登录、机器人设置)将传递给属于该组的任何用户,并在以后添加或自动设置。
分配角色
-
Go to Tenant > Manage access.
-
Above the table, on the right, click Assign roles and select User, Robot account, or Group.
The Assign roles window opens.
-
请遵循以下适用的说明:
a. Assigning roles to a group
b. Assigning roles to a user
c. Assigning roles to a robot account
自动分配建议
当您分配文件夹级别角色时,我们会检查您是否也具有相应的租户级别角色。否则,系统也会自动提示您分配该变量。您可以选择当场分配所需的角色,也可以将操作推迟到以后执行。
重要提示:
- 这适用于所有可分配角色的实体。
- 它仅适用于显式分配的文件夹角色,而不是继承的文件夹角色。
已知问题:
此选项不适用于 Active Directory 用户或组。
将组分配给租户
如果向组分配角色,则属于该组的所有用户和机器人帐户将继承这些角色。
组由组织管理员从“管理”>“帐户和组”页面中创建和维护。
1) 一般详细信息
-
在“选择组”字段中,键入关键词以搜索要分配角色的现有用户组。
如果需要,您可以通过单击字段右侧的“新增”来创建新组。
-
单击“角色”字段,然后选中要分配给所选组的每个角色的复选框。
如果需要,您可以通过单击字段右侧的“新建角色”来定义新角色。
如果您的租户无法使用传统文件夹,则只能分配租户角色和混合角色。如果还希望将文件夹角色分配给该组,则必须从“文件夹”页面或文件夹的“设置”页面进行分配。
-
在“网页访问权”下,单击开关,以选择组成员是否可以登录 Orchestrator 用户界面。
重要提示:If this setting is enabled in at least one of the groups to which an account belongs (including the Everyone group), then setting it to disabled at the account level or for other groups has no effect for that particular account, only for other group members that are not in the same situation.
-
Under UI Profile settings, select the user interface profile for the members of this group.
-
如果您还想为组成员创建有人值守的机器人,请单击“下一步”。
否则,请单击“跳过并分配”以应用您的设置。跳过本节中的其余说明。
个人工作区权限
- When configuring an attended robot, you also have the option to create a personal workspaces for it. to set it to off (left position) if you do not want each user to have a Personal Workspace.
- 单击“分配”。
现在,该组在“管理访问”页面的“分配角色”选项卡上可见,并且组成员可以在登录时或在登录一小时内从变更中受益。
向租户分配帐户
We recommend that you manage user access by assigning roles to groups and then adequately assigning users to the right groups to grant them the necessary roles.
但是,如果您需要为特定用户执行一次性角色分配,则可以直接为用户分配角色,如下所示:
1) 一般详细信息
-
在“选择一个用户”字段中,键入内容以搜索要分配角色的现有用户。
如果需要,您可以通过单击字段右侧的“新增”将新用户添加到组织中。
-
单击“角色”字段,然后选中要分配给所选用户的每个角色的复选框。
如果需要,您可以通过单击字段右侧的“新建角色”来定义新角色。
如果您租户的传统文件夹处于非活动状态,则您只能分配租户角色和混合角色。如果您还想为此用户分配文件夹角色,则必须从“文件夹”页面或文件夹的“设置”页面执行。
-
在“网页访问权”下,单击开关,以选择用户是否可以通过直接导航到 Orchestrator URL 来登录 Orchestrator。
如果该帐户是已将“网页访问权”设置为“已启用”的任何组的成员,则更改单个帐户的此设置无效,因为所有帐户都将继承组级别设置。要控制单个帐户的网页访问,您必须在 Orchestrator 中从具有冲突设置的组删除该帐户,或删除具有冲突设置的组。
-
Under UI Profile settings, select the user interface profile for the user.
-
(Optional) Under Update policy settings, choose the release level to which you want this user to be required to update UiPath applications on their workstation. If you select a policy, the user will not be able to use UiPath Robot, Studio, or Assistant until they upgrade these applications to the version required by the policy. This setting can help you make sure that all your users are using the same versions.
-
如果您还想为该用户创建有人值守机器人或无人值守机器人,请单击“下一步”。
否则,请单击“跳过并分配”以应用您的设置。跳过本节中的其余说明。
2a)有人值守的机器人
-
如果要为每个组成员自动创建有人值守的机器人,请在“有人值守的机器人”下,将第一个切换按钮设置为“启用”。
-
Select the Enable a Personal Workspaces for this user if you want them to have a Personal Workspace.
-
If the user license management model is disabled, under License Type select a user license to assign to the user. What is my licensing model?
If the user license management model is enabled, the License Type options are not available on this page.
备注:确保您还为组级别或个人帐户分配有人值守用户许可证,以便他们可以使用有人值守机器人。
2b) 无人值守机器人
-
在“无人值守机器人”下,如果您还想为用户创建一个无人值守机器人,请单击开关,将其切换到“已启用”(右侧位置)。
If this user does not require an unattended robot, click Next to review robot settings and continue with step 15 or click Skip and assign.
-
In the Domain\Username field, type the domain and username used to log on to the machine on which UiPath Robot is installed. The credentials must exist in the selected credential store.
备注:您设置的凭据必须与此帐户可以运行自动化的计算机的 Windows 帐户凭据匹配。
要获取帐户名称,请在计算机上打开命令提示符并使用
whoami命令。- 对于加入域的用户,请使用
domain\username语法。例如deskover\localUser1。 - 对于本地 Windows 帐户,请使用
host_machine_name\username语法,并使用主机名而不是域名。例如LAPTOP1935\localUser2。 - 对于驻留在多台主机上的本地 Windows 帐户(无论使用的计算机如何,都要使用该帐户),请使用
.\username语法(带点号)而不是主机名。例如:.\localUser3。
- 对于加入域的用户,请使用
-
在“密码”字段中,输入上述帐户的密码,该帐户用于登录安装 UiPath 机器人的计算机。
-
从“凭据类型”列表中,选择您上面为无人值守机器人提供的凭据类型。
-
(Optional) If you opted for a CyberArk® credential store, indicate the External Name. If not specified, the default value is used.
-
在“并发执行”下,如果您只想允许此机器人一次运行一个作业,请单击切开关,将其切换到“已启用”(右侧位置)。如果禁用,则用户可以同时执行多个作业。
-
单击“下一步”以查看无人值守机器人的其他设置。
如果您不想自定义机器人设置,请单击“跳过并分配”以应用您的更改,并跳过本节中的其余说明。
3)机器人设置
-
为 UiPath 机器人配置执行设置。
For details about each setting, see Robot Settings.
-
单击“分配” 。 系统随即创建实体,并将其显示在“管理访问权限”页面上。 系统会为每个用户的上述每个配置创建一个浮动机器人。
分配多个帐户
-
转到“租户”>“管理访问权限”,然后单击“角色”选项卡。
-
在“角色”页面上,从列表中选择一个角色,然后单击“更多操作”
>管理用户。系统将显示“管理用户”窗口,并列出所有用户、组和机器人。如果选中复选框,则表示已为对象分配此角色。
-
根据需要选中或取消选择复选框,以便仅选择应该具有此角色的用户。
Figure 1. Managing adminstrator users
-
单击“更新”以应用您的更改。
角色更改将在用户登录后立即应用,或在一小时内自动应用。
检查已分配的角色
要查看为用户或组分配了哪些角色,请执行以下操作:
-
转到“租户”>“管理访问权限”>“分配角色”选项卡。
-
单击表格上方的“检查角色和权限”。
系统将打开“检查角色”窗口。
-
在“选择用户”字段中,键入以搜索要检查其角色的组或用户。(可选)根据“用户”或“组”筛选结果。
-
从搜索结果中选择组或用户。
您可以在租户级别和文件夹级别查看用户或组的角色。您还可以查看角色是显式分配的还是从所处的组继承的。
Figure 2. Check roles
重要提示:如果您使用的是 Azure AD访客用户帐户,则显示的角色信息可能不准确。
激活或停用用户
只有具有管理权限的用户才能执行此操作。对于停用的用户,对 Orchestrator 的访问权限已撤销。
-
转到“租户”>“管理访问权限”>“分配角色”选项卡。
-
Select the user you want to remove the access for, click More Actions
, and select Activate or Deactivate.“用户”页面上的用户实体会更新。
删除用户或组
从 Orchestrator 删除用户或组并不会从您的组织中删除该帐户。
-
转到“租户”>“管理访问权限”>“分配角色”选项卡。
-
Select the user or group, click More Actions
, and select Remove.对于您要为之删除角色的用户,如果他的机器人当前正忙,系统会通知您所有正在运行的作业都将被删除,并询问您是要继续删除还是取消操作。
-
确认操作。
已从 Orchestrator 中删除用户或组,所有角色已撤销。
或者,也可以选择一个或多个用户,然后单击“删除”按钮。
- 您无法删除具有 Administrator 角色的用户。
- 您无法从触发器所在的文件夹中删除或取消分配触发器中使用的部分映射的用户。确保未将用户设置为触发器中的执行目标,以便将其删除。
- 删除目录组并不会删除相关目录用户的许可证,即使删除组后取消了从任何文件夹中分配用户。释放许可证的唯一方法是关闭 UiPath Assistant。
故障排除
未找到错误
If an account was removed from the organization, when attempting to edit, enable/disable, or remove the account from Orchestrator (Tenant > Manage Access), a Not found (#1002) error is displayed.
在这种情况下,该帐户实际上已不存在,并且无法再访问 UiPath 产品。