The code snippet above in Listing 12 checks if the current user's role is' Admin '.
清单12中的代码片段检查当前用户的角色是否是‘Admin’。
When new users are added using the admin console, they can be placed in only one repository: whichever repository is the current default as defined by the base entry you set.
当使用管理控制台添加新用户时,只能将其放在一个存储库中:由您设置的基本项定义的存储库是当前缺省存储库。
This file should contain a single line, which is the name of the user who is currently logged in. If the current logged in user is admin then this file will look like this.
此文件应该包含单个行,即当前登录用户的名称。
应用推荐