user-accounts

GAE + Google Accounts API (or OpenId) - Unique Username

Anyone have any ideas on how I could get a unique username (but not the email address) for each user. Ideally, I'd show them a page asking them to specify a username for the site, but the only way I can think of doing that is to show it to them after they've authenticated via G Accounts or OpenId. But, that requires another page, and wha...

How to know which user account runs a specific windows service?

Hi, How can I know, by using C++ code, which user runs a specific service? The program I need to write might run under a local administrator account, so I guess there won't be permissions problems. Is it possible? TIA. ...

How to create sub.domain for user opon sign up

Hello, I am using php/mysql on linux servers. I want to create a user sub domain for each user upon sign up. For instance, john doe --> johndoe.example.com The issue is, we are going to allow customizations such as adding custom features for clients wanting customizations. So, is it better we automate the process or manually create ...

When you auto-create subdomains on user signup does it create a new website or gives appearance of a website?

Hi, I am wondering if subdomains that are created upon signup become websites or do they just give the illusion that they are websites sort of like example.com/username? I am trying to create something like user.domain.com and can't really find something helpful to do it? Is there a way I do it so that i can allow customizations for ...

Creating a new user account during the installation process

Hi, I need to install a windows service running under a given user. It is working with an existing user (ServiceProcessInstaller = User) but when the user does not exist then it should be created before the service install happens. The user must be a mamber of administrators. How should I do it? (VS2008, C#) Thank You. -- Hudgi ...

create local user account

i have this code to create a local windows user public static bool CreateLocalWindowsAccount(string username, string password, string displayName, string description, bool canChangePwd, bool pwdExpires) { try { PrincipalContext context = new PrincipalContext(ContextType.Machine); UserPrincipa...

Creating a user account in AD with JNDI and minimum password age.

So I want to create a user account in Windows 2003 with Active Directory utilizing JNDI. I am following the following example: http://forums.sun.com/thread.jspa?threadID=582103 (first post). The following code is throwing an LDAP error I believe due to a chicken and egg problem of creating a user and then setting a password that is const...

User account name not updating in c# WinForm Application

I am editing a c# WinForm solution and I do not understand the code that gets the user account name. The code is shown below. The application shows a customized form for each user account and the user account name is needed to get user-specific configuration values from an SQL database. What happens, to the best I can tell, is the ret...

How to get form to appear for all user accounts

I am editing a c# WinForm solution that shows a user-customized form for each separate user account. The solution includes two projects where one project runs in the background with a timer that calls the other project, and that project generates the user-customized form. The problem is that the form only appears when I use the admin a...

How should I handle unregistered accounts?

My impression is that, when I hit Stack Overflow for the first time, it records my IP address as a user since I can ask a question without being logged in, in the traditional sense, but I'm still tracked. Is this what SO does? Base a non-logged in user as an IP address? Or is it a combination of cookies/sessions and IP? I want to...

[JScirpt] How to Check if an user account exists or not (on local machine) in windows?

I am trying to verify whether a particular user exists on the local computer. The one solution that I can do is parsing the output of command Net user . But is there any better solution than this? ...

PHP Count Logged-In Users

Hello, I'm having trouble figuring out how I can count the number of logged-in users in my application. What I have: When a user logs in, they get a session (which is used when the user wants to visit a protected page) and the IsLoggedIn column for the user in the users table is set to 1 to indicate that the user is logged in. When the ...