user

Visual Studio 2008 IDE errors with Inherited UserControls

Hi, have a really annoying time developing some code for a set of UserControls that utilize fairly rudimentary inheritance. Basically, they are three different Detail Views which all inherit from a single Base Class which in turn Implements a Single Interface. Interface IBaseDetailView Class BaseDetailView : Implements IBaseDetailView...

Change Local user settings from within c#

I need to write a program that will take a existing local windows user, change the "Start the following program at logon field" in their environment tab and change the password to a new password. I am using local users instead of AD, will System.DirectoryServices work? Also any tutorials on using System.DirectoryServices would be very h...

Django: signal when user logs in ?

In my Django app, I need to start running a few periodic background jobs when a user logs in and stop running them when the user logs out, so I am looking for an elegant way to get notified of a user login/logout query user login status From my perspective, the ideal solution would be a signal sent by each django.contrib.auth.views...

Managing terminal users through System.DirectoryServices

I have a environment where I need to frequently change the parameters to a program that is launched when a user logs in to the terminal server. As of right now we open the computer management snap-in and edit the environment tab for the user and change the parameters by hand under "Start the following program at logon:". I would like to ...

Creating a user authentication form

I have an excel C# addin that needs a user authentication form. The username and password would be used for the user to use the UDF formulae in the addin. Can someone help me with how to go about it with the help of a sample example code? Thanks ...

Add user in database?

I have a user which can login in sql server. Now i need to add user in database, however i am not sure if that user already exists in database or not. So i need script, which checks if the user exists in database or not, and if doesn't it should add that user in that database. How can i do that? ...

User management and Page Access

hi guys, Just wanted to ask to how is User management and Page access based on user role is implemented? 1]Suppose page/feature access is to be given based on type of user eg: Sales,Marketing,Engineering .So we end up with something like if(CurrentUser.IsInRole("Sales")) { //for - sales feature } else { // etc..etc.. ...

How can I track repeated visitors using cookies

I want to track repeated user for our web site to show others by using cookies. It can be either java or javascript. ...

Two owners of the same PostgreSQL database

Is it possible with Postgresql to create a database which has 2 users which act like owners to the database? I can create a group role and add both users to that group, and then make the group the owner of the database, but this requires both users to be have to manually set their role on every connection to make any tables they have cr...

java file sharing application, user logging

OK I have so much questions regarding my file sharing application that I don't know where to start. My Java knowledge is very limited and I will be satisfied with any help you provide me. That being said, here come the questions. Firstly, I'm working on a user login method that needs to look sort of like this: import java.io.File; imp...

problems with RequestForFile() class that is using User class in Java

Okay I'll try to be direct. I am working on a file sharing application that is based on a common Client/Serer architecture. I also have HandleClient class but that is not particularly important here. What I wanna do is to allow users to search for a particular file that can be stored in shared folders of other users. For example, 3 us...

my Java class addUserToTheList() doesn't work

I have the following two classes: import java.io.*; import java.util.*; public class User { public static String nickname; public static String ipAddress; public static ArrayList<String> listOfFiles; public static File sharedFolder; public static String fileLocation; public User(String nickname, String ipAddre...

Joomla 1.5 user group questions

Does it affect the way joomla authenticate users if I add a custom user groups in the Joomla 1.5.15? Does it make it less secure? I'm planning to add a custom group at this table: jos_core_acl_aro_groups http://docs.joomla.org/Custom_user_groups Someone told me that if I add a new user group and the group_id is greater than 25 (this i...

Advice/preparation for a user observation session?

What we have so far of The Product will be shown to users soon. I was one of the primary developers, and I've been invited to observe the users while they're introduced to it and use it for the first few times. I'll be sitting in the room with them. My goal is to discover through their use things I can change to make the software "bet...

CakePHP Users, Groups, and data belonging to users

I am building a CakePHP app that requires admins, users, and merchants. Merchants will need to have a profile. Users will need to provide different info for their profile. I currently have a user model handling login with ACL enabled. That is all working fine. What I cannot wrap my head around is how do I handle having a different...

How to elicit debugging information from end-users?

During beta testing, sometimes our end-users unfortunately encounter a bug. This inevitably leads to a bug report, where the Joel on Software article Painless Bug Tracking suggests: Every good bug report needs exactly three things. Steps to reproduce, What you expected to see, and What you saw instead. This is usua...

Drupal 6: Basic school, students/teachers management

Hi, I'm developing a basic system (using drupal) to manage a school. It has to handle courses, teachers and students, among other features. With cck i've already created the courses and their respective subjects/disciplines. My question is, how do i assign grades to each student on each subject/discipline? How can i make those assigned...

Zendesk or tenderapp?

I've been looking at support systems for a webapp I'm going to be pushing really hard over summer. I've narrowed it down to Zendesk and tenderapp. They both seem to offer much of a similar product, price & features. Has anyone out there used the two and can advise how to best make the decision? Thanks :) ...

Store per user data in sharepoint webpart

Hi, I got to store some user specific data (string) in my sharepoint webpart.I guess hidden webpart properties should do the trick. Tried with the following attributes on webpart property: [WebBrowsable(false)] [Bindable(true)] [WebPartStorage(Storage.Personal)] [Personalizable(PersonalizationScope.User)] But i observe in the webpart ...

Is it possible to make user input invisible as a 'sudo' password input?

I'm using raw_input() to receive password from user in interactive mode, but I want to make input symbols invisible for security reasons, as it is when you're typing your password using sudo or connecting to a database. How I should do it? ...