user

How to let Django's generic view use a form with initial values?

I know how to set initial values to a form from the view. But how do I go about letting a generic view set initial values to a form? I can write a wrapper view for the generic view, but I still have no access to the form object instantiation. The specific goal I'm trying to achieve is to have a user create a new object, using the create...

Is it possible to use 2 membership providers in ASP.NET?

I have this situation: I have a website and needs to use the users base from a users database (SQL Server, Oracle, etc) and from a NT user database (computer or domain) for security/authentication of the site. The scenario is this: A user logs into the site and enters his/her username and password. The site looks up to the users data...

Approaches and recommendations for multiple OS user authentication techniques

I’m looking for recommendations of how to authenticate user/password combination and verify group association across a number of differing operating systems. Basically I have a C# application that is working in both MS Visual Studio C# and Mono C# and I need to add an authentication mechanism to it to support Windows, Linux, and MacOSX....

Revert File not in a workspace in perforce

I am trying to delete an old user from our perforce installation. A previous admin had deleted all their active workspaces / clients so we should be able to now delete the user, however when i run p4 user -f -d auser User auser has file(s) open on 1 client(s) and can't be deleted. However auser no longer has any associated clients, ...

Acquiring the access privileges of an active user

Hi all,I have a search algorithm that tries to resolve the location of a directory on a local drive. The directory obviously will need to access other directories present on the system if it is searching for a sub directory of one of those. However in doing this I keep getting the UnauthorizedAccessException. I would like to provide the...

best practice for user preferences in $HOME in Python

For some (small) programs I'm writing in Python, I'd like to be able to set, store and retrieve user preferences in a file in a portable (multi-platform) way. I'm obviously thinking about a very simple ConfigParser file like "~/.program" or "~/.program/program.cfg". Is os.path.expanduser() the best way for achieving this or there's som...

django auth User truncating email field

I am having an issue with the django.contrib.auth User model where the email max_length is 75. I am receiving email addresses that are longer than 75 characters from the facebook api, and I need to (would really like to) store them in the user to continuity among users that are from facebook connect and others. I am able to solve the p...

ASP.Net - Checking User Details From Business Layer

I'm using asp.net configuration manager and the standard login control to allow users to logon. What I'm wondering is can I find out what user is currently logged in from the business layer or do I need to pass it in from the UI? ...

vb.net calling a sub routine on a user control

I am very new to development and I have a question about my user controls. I have a panel2 inside a split container that has several user controls loaded into it. Panel 1 has an exit button and I want to call one of the sub routines that is in one of the user controls loaded into Panel2. Private Sub btnExit_Click(ByVal sender As Syste...

Setting "Log on as a service" and "Allow logon locally" with ADSI

I am trying to create a powershell script to automate user creation which is working great using ADSI. However I need to set the following properties and I am not sure how (or if ADSI can even do this): Log on as a service Allow logon locally Any ideas how to do this? ...

user profile definition issue

Hello everyone, I am developing a web site and I need to build a data structure to store user profile information. Just like what we filled about our gender/age/education/etc. information for Facebook, etc. The current issues I met with are, Currently I may not consider all required user profile information from current design/develo...

How to obtain betatesters?

A friend of mine is building a web application and is expecting to create a business around it (who doesn't). Of course he's done all the internal testing and friends&family, but few are interested or spend enough time with the system. The thing is he would like to find more people to use/test the application, but he doesn't know how. ...

Ever need to parse the svn log for files committed by a particular user since a certain date?

If so the following one-liner utilizing awk might provide a useful template svn log -v -r{2009-05-21}:HEAD | awk '/^r[0-9]+ / {user=$3} /yms_web/ {if (user=="george") {print $2}}' | sort | uniq ...

Getting subsets from Subsonic Collections

Hey, I'm using Subsonic Collections to pull a list of timesheet entries from our database and then databinding them to ASP.net user controls I've created on a page. Is it possible to break one large collection into multiple subsets based on a certain parameter? For example, each of our timesheet entries contain a job code for the part...

(Ruby,Rails) Role-based authentication and user management...?

Hi All, I'm looking for a quality Administrative plugin for Rails. It seems that most of the existing plugins/gems (e.g. "restful_authentication", "acts_as_authenticated") revolve around self-signup, etc. However, I'm looking for a full-featured Administrative/Management role-based type of solution -- but not one that's simply tacked ...

Problem running Eclipse on Mac with two users

I have installed Eclipse on my MacBook Pro (with Leopard of course) under one user and every thing works fine. When i switch my user and try to run Eclipse i'm getting error message saying to look at the log, and here is what's in that log file: !SESSION 2009-06-08 15:28:17.204 ----------------------------------------------- eclipse.bui...

users module errors in Google App Engine (solved)

UPDATE: It works now! but I didnt change anything actually, seems like Google need time to update its database for app engine. like 20 mins. I want to use user service of my domain in google App, but... Is it possible to solve this problem by my side? Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengi...

Does any know where to find a breakdown of iPhone users by phone generation

Now that the 3.0 OS & 3Gs are coming out, there will be a wider range in hardware and also in functional limitations (No P2P on first gen iDevices, No compass on anything but iPhone 3Gs, etc) of users that will be (ideally) buying our apps. In the same way that W3schools has it's browser stats page (http://www.w3schools.com/browsers/bro...

Evaluating user management options.

I am working on a web application (C#, VS2008 with Entity modelling) and within about a year from now, they will ask me to add some login/authentication/authorization options to this site that can be managed through the site. Which is fine by me but I would like to know some good ways to implement such functionality. Visitors for this s...

DNN Problem: Dynamic Registration, Paypal, and User Creation

Hi, I'm having a problem with the module Dynamic Registration for DNN. The module is set up with form completion events in such a way that a user gets redirected to paypal and on completion of payment a user gets created and an email is sent out. I also have it set up so that an email gets sent out on completion of payment, just to te...