Questions tagged [windows-users]

Agents, either human or software, which use a Windows computer or network service.

Windows users are agents, either human or software, which use a Windows computer or network service.

Related tags:

59 questions
11
votes
4 answers

Retrieve current Windows user in Java EE web application for Single Sign On purposes

I am doing a Java EE web application that requires Single Sign On with Active Directory. The application will no longer prompt for a username and password. The authentication process would require retrieval of the current Windows logged on user.…
Amy
  • 133
  • 1
  • 2
  • 9
11
votes
1 answer

Get Windows username of current user using php?

Possible Duplicate: How to read Windows loged in username with PHP/IIS I'm work on php tool that generate Data Access layer and generate some folders and files to user but i need to know how can i get username for current windows user to generate…
Moataz Aahmed Mohammed
  • 1,307
  • 5
  • 22
  • 33
10
votes
2 answers

Get windows users with C#

How can I get a list of all windows users of the local machine with the usage of .NET (C#) ?
Elmex
  • 3,331
  • 7
  • 40
  • 64
4
votes
3 answers

Is there a way to access a WSL folder from the Windows host or vice versa?

I've Windows 2010 home ed installed and on top i have installed Ubuntu extension support by Windows. I've started wrting my project there but not sure how to access directory in Ubuntu from my windows system (host) any thoughts? Thanks in…
Amaresh Kumar
  • 586
  • 1
  • 8
  • 20
3
votes
1 answer

How to install files for each user, including future new users, in Inno Setup?

I have an installer which needs to distribute some default files for the user to modify. Each Windows user profile needs to have its own copy of these (writable) files, including when a new user is created in Windows in the future. I already know…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
3
votes
1 answer

Selenium / Protractor not able to run browser tests (E2E) if the user running it is not interactively logged-in

We have a Continuous Integration agent that runs with the identity of a non-logged-in user (non interactive) - i.e. the agent does work with sufficient Windows user credentials, but no user is "physically" logged-in to Windows and the agent run as a…
3
votes
1 answer

Bamboo cloud agent's user account security questionable

When using a Bamboo cloud agent, on Windows, you're instructed to have a Bamboo Windows user with a default known password: Atlassian1. It clearly says that this user should be configured to denied remote login. But still, it's an active Windows…
Ofer Zelig
  • 17,068
  • 9
  • 59
  • 93
2
votes
1 answer

Disconnect Local Windows User Using C#

I have created two test accounts test and test1. I am able to login to one local windows user account "test" using the following code. bool result = false; ContextType contextType = ContextType.Machine; //if (InDomain()) …
azhar rahi
  • 331
  • 4
  • 16
2
votes
0 answers

How to keep audio playing when switching users in Windows?

It seems that Windows automatically stops my audio play when switching to another user. Is there any way where I can keep audio playing when windows switch to another user?
2
votes
1 answer

Get current windows user in Blazor Server

I want to get the name of the current Windows user for my Blazor Server project. I tried it via HttpContext, which is unreliable, according to this github issue. Then I went with the MS documentation, without success. Still returned null for User At…
Dragonith
  • 21
  • 6
2
votes
2 answers

Create a Windows user for an IIS site and nothing else

I'd like to add basic authentication to a website in IIS, https only. For this I need to create a Windows user. It is important that this user can access nothing other than this website. So I need to add him to Deny log on locally & Deny log on…
wezten
  • 2,126
  • 3
  • 25
  • 48
2
votes
0 answers

What is the difference between Local System and Administrator Account?

I have a Print Service when I change the Logon account to Administrator, The service worked well, but when I changed back to Local System Account, the service cannot find the Network printer and can not print. So I want to know what is the…
Hoang Tran
  • 886
  • 3
  • 13
  • 32
1
vote
0 answers

System.Windows.Controls.PrintDialog throws exception when I run under a different Windows Account

I have this error that I can't fix and I reformatted this question after I got some testing done. I have a code that works in my application if I am running the program with the same user I am logged as to windows: PrintDialog printDialog = new…
Muhannad
  • 467
  • 4
  • 28
1
vote
0 answers

How to get current Windows user name in ASP.NET Core 2.2, when web application runs as Administrator?

We have an ASP.NET Core 2.2 web-application, hosted on IIS and run under MyComputer\MyAdminUser Windows user (with administrator permissions). I need to get the name of current Windows user, which are working with our application, f.ex.…
Vitaliy
  • 645
  • 1
  • 10
  • 21
1
vote
1 answer

How to ScheduleReboot in wix only if several sessions are opened

I am looking for a way to use prompt ScheduleReboot action in WIX installer only in the condition there is more than one user logged in to the target machine. So far I couldn't find a condition or other built in way to do that, I decided to ask here…
Yuval Perelman
  • 4,499
  • 1
  • 22
  • 32
1
2 3 4