导入和更新一批共享帐户

通过从简单的文本文件读出数据批导入和更新的特征,并允许管理员导入帐户和随意更新现有帐户的详细内容。除了能够创建帐户之外,它还能够使管理员更新以下的帐户数据:

批用户导入的有用特征实例包括:

执行批导入:

  1. 手动检查您文字编辑器里的文件并确保它在规定的表格格式里,详细信息在“批帐户导入文件格式”部分有描述。

  2. 浏览共享帐户部分。

  3. 点击批导入 ...行为(在左边)。

  4. 点击 浏览选择文件的导入。(文件的格式在“批帐户导入的文件格式”部分有描述)。

  5. 如果帐户已经不存在您是否想选择导入创建新的帐户。如果您清除了此检验栏,那么所包含的不存在的用户将被忽略并仅对现有的用户进行更新。

  6. 点击导入按钮。

  7. 在操作完成后将告诉您有多少个用户被更新和有多少个用户被创建。

批帐户导入的文件格式

在指定的表格格式导入文件包含了以下指定的领域:

FieldDescriptionOptional?

Account Name

The Shared Account Name

Mandatory

Account PIN

The account PIN. The account must be unique.

Optional - PIN not set if blank

Credit Balance

The account balance

Optional - Balance is not set if blank

Restricted Status

The account's restricted status. (Y/N where Y = YES, and N = No)

Optional - restricted status not set if blank

Notes

Notes about the shared account (placed in the Notes field).

Optional - notes not set if blank

Groups

The groups that are allowed to use the account. The list of groups is pipe (|) delimited. To reference the special 'All Users' group, use the syntax [All Users]. To specify that all access groups should be removed, enter a hyphen (-).

Optional - groups are not updated if blank

Users

The usernames of users that are allowed to use the account. The list of users is pipe (|) delimited. To specify that all access users should be removed, enter a hyphen (-).

Optional - users are not updated if blank

表格 7.1. 共享帐户导入的文件格式

提示

创建表格的一个简单的方法是定义文件用Microsoft Excel创建一个电子表格,然后用 Text (Tab delimited) 的格式保存。

导入文件格式的实例

在以下栏里显示上面领域所导入的(通过表格分开的领域)信息。

Maths	1234	500	N	A Note	group1|group2|group3	user1|user2|user3
Science	1235	100	N	More notes	group1	user3
                

下列行表明了仅在更新的组可以访问帐户。注意:表格里仍存在着密码、余额、限制和注意领域,但每一项里是空白的。密码、限制、全名领域每一项也是空白的。

Maths					group1|group2|group3
Science					group1