概述
通过“管理访问权限”页面的“分配角色”选项卡,您可以搜索组织级别已存在的用户和组,并在 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.
-
请遵循以下适用的说明:
- Assigning roles to a group
- Assigning roles to a user
- Assigning roles to a robot account
向组分配角色
如果将角色分配给组,则属于该组的所有用户都将继承这些角色。
组由组织管理员从“管理”>“帐户和组”页面中创建和维护。
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, select the user interface profile for the members of this group.
-
如果您还想为组成员创建有人值守的机器人,请单击“下一步”。
否则,请单击“跳过并分配”以应用您的设置。跳过本节中的其余说明。
2)机器人设置
-
如果要为每个组成员自动创建有人值守的机器人,请在“有人值守的机器人”下,将第一个切换按钮设置为“启用”。
备注:For groups, the default robot settings apply. If you want to customize robot settings, you have to make the adjustments explicitly for each user after you finish this process.
备注:确保您还为组级别或个人帐户分配有人值守用户许可证,以便他们可以使用有人值守机器人。
-
Click the second toggle Automatically create Personal Workspaces for members of this group to set it to off (left position) if you do not want each user to have a Personal Workspace.
-
单击“分配”。
现在,该组在“管理访问”页面的“分配角色”选项卡上可见,并且组成员可以在登录时或在登录一小时内从变更中受益。
向帐户分配角色
我们建议您通过向组分配角色,然后为正确的组分配足够用户,向他们分配所需的角色来维持用户访问权限。
但是,如果您需要为特定用户执行一次性角色分配,则可以直接将角色分配给用户,如下所述。
- Go to Tenant > Manage Access > Assign roles tab.
- In the top right of the tab, click Assign roles and select User.
1) 一般详细信息
-
在“选择一个用户”字段中,键入内容以搜索要分配角色的现有用户。
如果需要,您可以通过单击字段右侧的“新增”将新用户添加到组织中。
-
单击“角色”字段,然后选中要分配给所选用户的每个角色的复选框。
如果需要,您可以通过单击字段右侧的“新建角色”来定义新角色。
如果您租户的传统文件夹处于非活动状态,则您只能分配租户角色和混合角色。如果您还想为此用户分配文件夹角色,则必须从“文件夹”页面或文件夹的“设置”页面执行。
-
在“网页访问权”下,单击开关,以选择用户是否可以通过直接导航到 Orchestrator URL 来登录 Orchestrator。
备注:如果该帐户是已将“网页访问权”设置为“已启用”的任何组的成员,则更改单个帐户的此设置无效,因为所有帐户都将继承组级别设置。要控制单个帐户的网页访问,您必须在 Orchestrator 中从具有冲突设置的组删除该帐户,或删除具有冲突设置的组。
-
Under UI Profile, 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.
如果您选择策略,则用户将无法使用 UiPath 机器人、Studio 或 Assistant,直到将这些应用程序升级到策略所需的版本。 此设置可以帮助您确保所有用户都使用相同的版本。
-
If you want to also create an attended or unattended robot for this user, click Next and continue with the next sub-section.
否则,请单击“跳过并分配”以应用您的设置。跳过本节中的其余说明。
2a)有人值守的机器人
-
Under Attended Robot, set the first toggle to Enabled (right position) if you want to automatically create an attended robot for the user.
-
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.
You must also assign an attended user license - either at the group level, or to individual users - so that they can use the attended robot.
-
Click the second toggle Automatically create Personal Workspaces for members of this group to set it to off (left position) if you do not want each user to have a Personal Workspace.
2b) 无人值守机器人
-
在“无人值守机器人”下,如果您还想为用户创建一个无人值守机器人,请单击开关,将其切换到“已启用”(右侧位置)。
如果此用户不需要无人值守机器人,请单击“下一步”以查看机器人设置,然后继续执行第 15 步,或单击“跳过并分配”以应用您的更改,并跳过本节中的其余说明。
-
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.
-
对于加入域的用户,请使用
domain\username语法。例如deskover\localUser1。 -
对于本地 Windows 帐户,请使用
host_machine_name\username语法,并使用主机名而不是域名。例如LAPTOP1935\localUser2。 -
对于驻留在多台主机上的本地 Windows 帐户(无论使用的计算机如何,都要使用该帐户),请使用
.\username语法(带点号)而不是主机名。例如:.\localUser3。备注:您设置的凭据必须与此帐户可以运行自动化的计算机的 Windows 帐户凭据匹配。
要获取帐户名称,请在计算机上打开命令提示符并使用
whoami命令。
-
-
在“密码”字段中,输入上述帐户的密码,该帐户用于登录安装 UiPath 机器人的计算机。
-
从“凭据类型”列表中,选择您上面为无人值守机器人提供的凭据类型。
-
可选:如果您选择了 CyberArk® 凭据存储,请指定“外部名称”。如果未指定,则使用默认值。
-
在“并发执行”下,如果您只想允许此机器人一次运行一个作业,请单击切开关,将其切换到“已启用”(右侧位置)。如果禁用,则用户可以同时执行多个作业。
-
单击“下一步”以查看无人值守机器人的其他设置。
如果您不想自定义机器人设置,请单击“跳过并分配”以应用您的更改,并跳过本节中的其余说明。
3)机器人设置
- 为 UiPath 机器人配置执行设置。
- 单击“分配” 。 系统随即创建实体,并将其显示在“管理访问权限”页面上。 系统会为每个用户的上述每个配置创建一个浮动机器人。
向机器人帐户分配角色
- Go to Tenant > Manage Access > Assign roles tab.
- In the top right of the tab, click Assign roles and select Robot account.
1) 一般详细信息
-
In the Search for a Robot account field, type to search for the robot account to which you want to assign roles.
If needed, you can add a new robot account to your organization by clicking Manage Accounts to the right of the field. You must be an organization administrator to be able to add accounts.
-
Click the Roles field and then select the checkbox for each role you want to assign to the robot account.
如果需要,您可以通过单击字段右侧的“新建角色”来定义新角色。
If classic folders are inactive for your tenant, you can only assign Tenant roles and Mixed roles. To also assign Folder roles to this account, you must do so from the Folders page or from the folder's Settings page.
2)机器人设置
For robot accounts, Unattended robot is enabled by default and cannot be disabled. Also, there is no option for Attended robot.
-
If this account will be used to run foreground processes, under Settings, select the Machine login credentials checkbox to specify the account credentials for logging in to the machine.
-
In the Domain\Username field, type the domain and username used to log on to the machine on which UiPath Robot is installed.
对于加入域的用户,请使用
domain\username语法。例如,uipath\localUser1。对于本地 Windows 帐户,请使用
host_machine_name\username语法,并使用主机名而不是域名。例如,LAPTOP1935\localUser2。对于驻留在多台主机上的本地 Windows 帐户(无论使用的计算机如何,都要使用该帐户),请使用
.\username格式(带点号)而不是主机名。例如,.\localUser3。备注:您设置的凭据必须与此帐户可以运行自动化的计算机的 Windows 帐户凭据匹配。
要获取帐户名称,请在计算机上打开命令提示符并使用
whoami命令。 -
In the Password field, type the password for the above-mentioned account.
-
From the Credential Type list, select the type of credentials you provided above.
-
If you selected a CyberArk credential store, indicate the External Name. If not specified, the default value is used.
-
-
If you want to only allow the robot to run one job at a time and therefore consume only one runtime, select the Run only one job at a time checkbox.
如果禁用,机器人可以同时执行多个作业。 它可以同时运行的最大作业数取决于分配给运行机器人的标准计算机或计算机模板的运行时数量。
-
Click Next to review additional settings for the robot and continue with the instructions in the next sub-section.
If you do not want to customize robot settings, click Skip and assign to apply your changes and skip the remaining instructions.
3)机器人设置
- 为 UiPath 机器人配置执行设置。
- When finished, click Assign.
The robot account is now set up and displayed on the Assign roles page.
检查角色
要查看为用户或组分配了哪些角色,请执行以下操作:
-
转到“租户”>“管理访问权限”>“分配角色”选项卡。
-
单击表格上方的“检查角色和权限”。
系统将打开“检查角色”窗口。
-
在“选择用户”字段中,键入以搜索要检查其角色的组或用户。(可选)根据“用户”或“组”筛选结果。
-
从搜索结果中选择组或用户。
您可以在租户级别和文件夹级别查看用户或组的角色。您还可以查看角色是显式分配的还是从所处的组继承的。
重要提示:如果您使用的是 Azure AD访客用户帐户,则显示的角色信息可能不准确。
编辑角色
-
转到“租户”>“管理访问权限”>“分配角色”选项卡。
-
At the right end of the row, click More Actions
and select Edit. -
根据需要进行更改。
-
完成后,单击“更新”以应用更改。
备注:您无法更改使用外部身份提供程序登录 Orchestrator 的用户的电子邮件地址。
激活或停用用户
只有具有管理权限的用户才能执行此操作。对于停用的用户,对 Orchestrator 的访问权限已撤销。
-
转到“租户”>“管理访问权限”>“分配角色”选项卡。
-
At the right end of the row, click More Actions
and select Activate or Deactivate.“用户”页面上的用户实体会更新。
删除用户或组
从 Orchestrator 删除用户或组并不会从您的组织中删除该帐户。
- 转到“租户”>“管理访问权限”>“分配角色”选项卡。
- At the right end of the row, 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 产品。
禁用并发执行
在新式文件夹中优化资源消耗并最大程度地提高执行能力,几乎不会涉及控制将用户分配给作业的方式。对于不能多次使用同一个凭据(例如 SAP)的情况,您可以限制并发 Unattended 执行。通过限制用户同时执行多个作业,这有助于调整作业分配算法。