Visual Studio 在线(调整用户权限 - 不是 TFS 用户而是 windows 用户)

Visual Studio Online (Adjust User Privileges - not TFS user but windows user)

今天遇到了一个很奇怪的问题,很遗憾google没有帮到我。我在 VSTS Online 中有一个项目,我在构建期间将其配置为 运行 测试,我的部分测试是集成测试(它们在执行期间 运行 简单场景和测试应用程序状态)和问题是我的应用程序使用 AWE(地址 Windows 扩展)进行内存分配并使用它 windows 用户应该具有 SE_LOCK_MEMORY_NAME 权限 - 而 VSTS 在线用户没有它。

有人可以告诉我如何在 VSTS 中调整 windows 用户的权限吗?

P.S。 我的应用程序自动尝试通过代码调整当前用户权限并被拒绝访问。

提前致谢

如果您使用 Hosted Build Agent,则无法调整权限。

Q: Do any of the processes for your build need administrator privileges?

A: No. Then you can use the hosted pool.

Q: Do you need to log on to the build server?

A: No. Then you can use the hosted pool.

您需要 deploy your own build agent 才能执行此操作。