user

How do I implement user preferences on a PHP jQuery page?

On a portal's main page, I'm using a jQuery container plug-in, and by this users can hide a container by just clicking the minimize button on a container. My question is: how can I save the user preferences in this regard? Then if the same user logs in again, I want to show the page based on user preferences. For example if a user hide...

Letting users register to website, PHP

Hello I have my website and it's form is like this: Information More information Yet more information I want to allow users to register a username a password so that they can log in and leave comments on the items 1,2,3 etc. Each item of information is stored in a mysql table, so to generate the page, each item 1,2,3 etc is a row/rec...

C# Asp.Net User Control button click

In my code I load a user control (uc) in the page_load event. The uc contains a button which sets a label text to the textbox value. (lblTest.Text = txtText.Text) . This works fine in the load event of my page. But when I set the loading of the uc in my Init event, the label isn't set. When I set breakpoints, I see the button event is fi...

Which properties and functions must be run under elevated privileges?

Hello. I`d like to know which properties/functions must have which privileges to be used. Is there such a list? For example, when developing code, how can a newbie know which properties or functions will work for site members, visitors or owners? I`v been developing for a while, but still stumble at this one. Thank you. ...

mysql CREATE USER

I am logged into mysql... mysql -u root -pmypass And I have run the following command to remove the database user which worked succesfully mysql> FLUSH PRIVILEGES; DROP USER 'myuser_shop'; I can then add user successfully using the following command, again this works successfully mysql> FLUSH PRIVILEGES; CREATE USER 'myuser_shop' ...

Suggest a good method for having a number with high precision in C#

Hi every one! I am programming on a project which I should store the key of the user to the initial configuration of a machine, I want to write it in C#. I have an initial configuration which consists of two number R and X0, R = 3.9988 and X0 = 0.5. I want to add the user key to these numbers. for example: Key: hos110 => R = 3.9988...

How to make admin site safe ?

Hi guys, very simple question: I have admin site in my web project. So, how can I make it safe? What I have until now: Database handled user with userID and userlevel on the pageload of the admin master page (which includes all admin sites) there is a clause to check if userID is okay (get the user from database) and if userlevel is ...

At which point and how do rebind datalist inside usercontrol on button click?

I have a usercontrol (Imageselector.ascx) that consists of a datalist. The datalist's itemtemplate contains another usercontrol (selectoricon.ascx) that contains an imagebutton. In default.aspx page i include the Imageselector.ascx and populate its datalist from db with DataBind(). In the datalist's onItemdataBound event I populate the s...

Adding roles to the 'CreateUserWizard'

Hi (I'm pretty new to this), Is it possible to add roles to the 'CreateUserWizard' tool so that you tick boxes (or view roles in a drop down menu) and once one or more have been chosen, this information is added to the asp.net configuration automatically? I have the following code: <asp:CreateUserWizard ID="CreateUserWizard1" runat="s...

create hierarchy in non parent child dimensions

I am creating a user hierarchy for product dimension with AdventureWorksDW in a cube. I have added Product Key, ProductCategory Key and Product Subcategory Key attributes. But, its always giving me a warning "create hierarchy in non parent child dimensions" as a tooltip as I hover my mouse pointer over the Dim Product in Attributes windo...

Web Part Manager - Personalization Blob Data Extraction

I am adding a Personalizable Attribute to my custom implementation of WebPart class. This will be used by the Web Part Manager while rendering web parts to zones. I need to inject this new attribute and it's value to the existing personalization data for all users. I could retrieve the byte array of the personalization data blob per us...

Finding the number of USER Objects used by a process.

I'm investigating a possible memory leak which is causing an "Error creating window handle" Win32Exception in my .NET 2.0 WinForms app. This is related to number of Handles and number of USER objects (most likely) so I'm trying to log these metrics the next time the exception is thrown. HandleCount is easy to find: Process.HandleCou...

Oracle SQL Developer How To Default To Other Users Tables?

Hi Guys, In order to see all of the tables in our companies DB I have to go find the main sys account. Is there a way to default my connection so that it shows the other users tables? ...

Writing a system for User Accounts

Hi, I am currently working on building my own blogging website from scratch (instead of using WordPress or Drupal). I have the articles set up and stored in databases and the website runs queries on the databases to display the content. That all works fine. What I would like to know is how do I write a system for users to register wit...

How to display top 10 contributors in Confluence

I would like to display top 10 contributors to a space in Confluence in the last year that have created, updated or removed pages. There is some statistics on Browse Space > Activity, but only monthly, not yearly. ...

Hibernate entity with user defined attributes

Can someone please give me some tips on modeling hibernate entities that have some known attributes while the majority are defined by the user of the system (during initial setup of the system) I need to be able to search on these user defined attributes at a later point in time. ...

Windows User Account that executes only IIS7 Provisions

Hi there, I've got a web application that executes IIS 7 provisions (using Microsoft.Web.Administration.dll) to create our web and ftp sites. When I run this using the administrator account, it works ok. I'm thinking of creating a windows user account for impersonation that will only execute these web provisioning procedures without be...

T-SQL - Creating a Local User On Windows OS

Hi, My requirement is that I need to create a local user on my System (On my Windows OS) using T-SQL. And I need to set this user under ‘Administrators’ group. Using this local user I should be able to login to my Windows OS (At System Startup). Is it possible? If so may I know how could we do this? Many Thanks, Regards. Anusha. ...

Sharepoint user profiles with forms authentication

I've imported a bunch of users into my Active Directory with some custom fields. Then I did a profile import from Active Directory to Sharepoint with all the custom fields and regular fields. After this, I needed each user to be in a site collection with a MySite set up for them. I did that by writing some code that ensured the user e...

Move some (not all) users from one ASP.NET Membership database to another

Does anybody know if it is possible to move some (not all) users from one ASP.NET membership database to another? (for the purposes of migrating some users to another database on another machine, but not all). ...