Oleg Karasik
Oleg Karasik

Reputation: 969

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

Today I encountered a very strange issue and google unfortunately did not help me. I have a project in VSTS Online and I configured it to run tests during the build, part of my tests are integration-tests (they run simple scenarios and test application state during the execution) and the problem is that my application uses AWE (Address Windows Extensions) for memory allocation and to use it windows user should have SE_LOCK_MEMORY_NAME privilege - and VSTS Online user does not have it.

Can someone advice me how I can adjust privileges of the windows user in VSTS?

P.S. My application automatically tries to adjust current user privileges through the code and gets access denied.

Thanks in advance

Upvotes: 0

Views: 98

Answers (1)

Eddie Chen - MSFT
Eddie Chen - MSFT

Reputation: 29976

There isn't any way to adjust the privilege if you are using 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.

You need to deploy your own build agent to do this.

Upvotes: 2

Related Questions