user

Tips for developing app with different permission levels

Does anyone have any tips as we develop an application that will require each user to be assigned a permission level. The permission level will determine what functionality is available to the user. Any advice? How would you (do you) employ such functionality in your application? ...

WPF/C#: Where should I be saving user preferences files?

Whats the recommended location, to save user preference files? Is there a recommmended method(or should I call it pattern) of dealing with user preferences? Currently I use the path returned from typeof(MyLibrary).Assembly.Location as a default location to store files generated or required by the app. EDIT: Found two related/interestin...

On Windows XP: How to create an User that has no read access to any directory besides one certain directory?

Hi, Let me state first: I know that any user that wants to run a program (or even log in), has to have access to (probably at least) the Windows system directories and the shared libraries in %ProgramFiles%, but I'd like to be able to contain Skype, for example, by running it with an unprivileged user and make sure that it can't access ...

(g)Vim 7.x :: Possible to trick Vim into allowing lower-case user-defined commands

Not that it is seriously burdensome to type :My_custom_foobar() instead of just :my_custom_foobar() but it just feels odd considering how virtually every other aspect of Vim is so extensible. Some searching for an answer has not turned up much, but I know it's got to be possible without having to recompile Vim from source. Does a...

How can I convert existing users into a OpenID

Would this be a smart thing to do? I don't want to alienate my users, but having multiple ways to sign in to the site kind of defeats the purpose of having an OpenID implementation. This isn't a brand new site and has about 3k users which are somewhat diehards (we have a great community), but not all of them are and I don't want to los...

SharePoint Web Part to display users by AD/SharePoint Group

Hi I'm trying to create a SharePoint web part that will display all the users in a certain active directory or SharePoint security group. So for example on the home page for a department called Human Resources, the web part will list all the people who belong to the AD or SharePoint group called HR. It's been suggested to me that ther...

When the Client asks for something ludicrous and insists

Ok, so the client is insisting that I make a control that is essential to the website I am doing (it's the nav) into something that, frankly, no one would know what it was much less would click on it. I mean, this isn't an opinion issue, he is straight out wrong. It's not revolutionary. It's not different. I just think if we took a .jp...

Python script to list users and groups

I'm attempting to code a script that outputs each user and their group on their own line like so: user1 group1 user2 group1 user3 group2 ... user10 group6 etc. I'm writing up a script in python for this but was wondering how SO might do this. Thanks! p.s. Take a whack at it in any language but I'd prefer python. EDIT: I'm...

Preferred database design method for assigning user roles? (Hats vs. Groups)

I have medium sized MySQL database with a primary "persons" table which contains basic contact information about every human being connected to the theatre and theatre school for which I am responsible for maintaining and developing a number of web applications. Some persons are just contacts - that is, their "persons" table record is a...

How do you get your users to report bugs using the appropriate channels?

We've got a nice (IMHO) setup where users can either use a web-based form or send e-mail to a particular e-mail address so that they can report a bug. If they do this, a record is created in the bug tracking system, and then all of the appropriate developers are notified by e-mail. Our more savvy users actually know how to use the bug ...

What's the best way to get good feedback during a web app's closed beta?

If only email is available then the users don't seem to engage. A feedback box within the app feels like a step in the right direction, but doesn't offer any ability to build community. Uservoice and tenderapp both look like they could work well, and GetSatisfaction seems like a better option once your app is in past the beta stage. S...

How do I use a table other than "Users" for CakePHP's AuthController?

CakePHP's AuthController assumes you have a Users table that contains a username and password. I'd like to find a way to override the default tablename from Users to Accounts. Background Information: The way I have designed my database is to have a Users table and an Accounts table. Accounts : id user_id username password authentica...

Is it better to convert existing user accounts for them or have the users re-register?

I'm rewriting a website and going from a home-grown authentication model where users logged in with their account id (numbers) and password, to .NET FormsAuthentication where users will login with a username that they choose (or is available) and a stronger password. There are over 38K existing accounts and I'm trying to decide if the ex...

How do retrieve no of uesrs connected on IIS at any point

Hello - I want to know how many users are connected to the IIS web server at any point on a simple .net page. Is there a way using a native .net class in 3.5 that will tell me this information. I want to create a simple web page that will give me the total number of users/open sessions at a given time. Currently, I am using Perfmon to ...

How to get column info from oracle table you don't own (without using describe)?

Hi, How would one get columns information on table which he doesn't own, but has select granted? This is, without using DESCRIBE table_name. Consider this example: // user bob owns table STUDENTS grant select on students to josh; // now josh logs in, normally he would do describe bob.students; // but he's looking for something along ...

How to design a User Object Model using MS Roles & Membership

I would like to build a ‘User’ Object model for a somewhat typical web application…however I cannot decide how best to design the object model & role system. Basically I plan to have about 4 user types…which will correspond to user ‘roles’ in the membership provider. These types will be: • Worker • Employer • Guest • Admin Th...

What is the best way to get currently online users?

After googling a bit I have found some tips about how to get online Users with ASP.NET. But I am using my own class for membership. The information I have found is: Log the users sessionId to database when the user logs in Log them out when their session time out What is your advice about this ? Thanks ...

How do you prototype a large website?

I am working on the rewrite of a large VB6-based application. We are moving from Windows Forms to web-based deployment using ASP .Net. There are about 50 core users and all are internal to the company. We need an efficient way to try out different designs in order to investigate the information architecture of the site, the workflow, an...

What is the best solution for remote desktop / visual support?

We are currently investigating different remote-desktop support solutions to help our clients if they have any problems with our software and I would like some input on the best solutions out there. We have the following needs / wishes: Cross platform Preferrably no installation on the user-end Should penetrate firewalls and not be bo...

getting users and groups from Windows

Hi all, I'm using a Java program that has to gather info that can be derived from the user's group. How can you get a user's group name from windows? Is it found in a file or is there some method/API for getting it? Please let me know. Thanks, jbu ...