User object (System.Security.Principal.IPrincipal) in my web service does not reflect currently logged on user.
I am using Forms authentication, 3.5 framework. I am calling a web method from a web form page; here is my problem: For some reason the User object (System.Security.Principal.IPrincipal) in my web service does not reflect currently logged on user. I know I am logged in correctly when I call the web service method (which I call using BeginX...X()). The weird thing is, I have other services whos methods DO reflect the currently logged in user (although these are called using AutoComplete extender, don't know why one works and the other does not).Please help http://www.geneangelo...Web User Control to Web User Control...
Hi, I have 2 User controls on a page and want Control1 to call a method of Control2. Is this Possible?
Con1 = Datalist showing products, each with a Quantity Box and a Button.
Con2 = Repeater showing Cart Preview (name, Price)
When I click on the button on the DataList in Con1 it adds the item into the Session based Cart. However it does not update the Cart Preview. I need to call BindPreview() in Con2 in order to update the Cart Preview...
Does that make sense? argh! any help much appreciated!
PeteWeb Design Nottingham, UK
Well I can call BindPreview() from m...Is possible assign role to user while creating user using UA
I have requirement that i wanted to assign the role to the user while
creating user in IDM vault using Novell User Application whith Admin
rights. Is there anyway to customize or integrate the role service
portlets with create portlet.or Is it possible to assign role to user
while creating user? if there is any otherway then please suggest me.
IDM User Application version is 3.6.1.
Thanks in advance,
On 05/17/2010 01:46 AM, sureshpatike wrote:
>...RFC s/user Access->M/user web based system
I'm after general ideas and pointers for a project I'm likely to get lumbered
At the moment we have a membership database written in access on a windows
box. One person is responsible for keeping this up to date and then
distributing the updated file for others to use - e.g. for mailshots.
Now, with growing membership numbers, two people in seperate locations need to
update the file, and more people are needing read access to it.
Ideally, I would like to put some sort of web front end on it, hosted on one
of my existing web servers - running standa...Creating User Account Without Default Security Role (Registered User Role)
My DNN version is 3.1.1. The portal is set to Private Registration. Unauthenicated users have access to the basic pages of the site. We require my company's current customers to register and be approved to have access to all other pages that contain information restricted to them (the major part of the site). As you know, authorizing a user account applys the Registered User security role by default and this is how I control access to the customer areas. We want to create a page that will be used by Marketing to allow potential customers by login to...create a user role to "create users"
Is it possible to create a user role so that i can assign users to create users. I don't want to give them access to the administrator role, just a role that will allow them to create new users.
You could work around that by placing a user account module on a page only accessible by the role in question.The original registration would then be turned off or set to private.I think that's the easienst way of dealing with your problemHope that helpsLeif
But if you add a Users Account module to a page, doesn't that just show the currently logged in user their details.
Is there something i am...Problem in accessing web form data in user controls when create user control dynamically
I have a problem using web user control. I designed a user control
named NewsForm. This user control contains some web form elements like
<asp:textbox>. When I add it in an .ASPX page, all things may be
true. I can know which user filles in textbox (for example and other controls)
<%@ Register TagPrefix="uc1" TagName="NewsForm" Src="NewsForm.ascx" %>
<UC1:NewsForm id="newsForm" runat="server"></UC1:NewsForm>
But when i create it in code behined dynamically, however user control has web form controls but their value are blank
//aspx co...System.Web.Security.Membership & anonymous users
To what extent does System.Web.Security.Memberhip provide functionality to implement anonymous users ? ( including lifespan & ability to convert to permanent user )
Thanks....Web Admin Tool--Security--Create New Users
I try to make a new user entry and in the admin tool and it gives me the error that the password needs to be at least 7 letters and contain at least one non-alphanumeric #. I've tried various passwords that conform to this and it still gives me this error. I don't know what the problem is?? Does anyone else?
A simple password that conforms to this would be:
Is that not working?-Stefan----------------------------------------------------------This posting is provided "AS IS" with no warranties, and confers no rights.
That works, thanks....User Control controls not created when dynamically creating user control
Have created a user control for displaying and editing a dynamically number of values. The user control contains two labels and an edit box. When dynamically loading the user control I get an error when the control itself tries to change setting on the fields within the user control.
Why doesnt this work? It works okay if I dont load it dynamically but create a user-control-instance in the aspx-page but thats no solution.
Here is my code:
<%@ Control Language="C#" AutoEventWireup="true&...Unable to create Users/Duplicat created users in SQL server
I have a website, i am developing the site on a differant computer that the site is on, so i had to create each role provider personally. The problem is I created a REMOVE user page for admins only because i really didn't want to use visual studio everytime i needed to add or remove a user. now, i had duplicat users in my SQL database, so i tryed to delete them from the database table personally, bad ideai ended up having to go between PROFILE,USER, and MEMBERSHIP to delete each key. Any ideas how i can get my database back in order? maybe i will re aspnet_regsql.exe it? a...System.Web.Security Architecture
Hi!I'm concern about the fact that the security infrastructure of ASP.NET 2 does not support editing user or role names. I understant that this simplifies things very much. However the whole idea of Membership, Role and Profile providers under the System.Web.Security namespace is made useless if such a feature is essential for a specific implementation.While the whole infrastructure of System.Web.Security covers almost every aspect of this vital part of web application, the lack of another primary key for the objects of user and role, like user_ID and role_ID, seems to be...How can i create new users without utilizing the create user wizard?
Is it possible for me to create new users without using the wizard? I am using a custom membership as i want to capture more data other than the ones which are available in the wizard. Is it possible for me to use the custom membeship create user method? If yes how can i call it ? What should i be giving the button_click event of my webpage where i capture the data?
Thanks in advance
You can call the CreateUser methods directly. They're available throughMembership.CreateUser(.....)If you have extra fields, not available in the CreateUser methods, you can add them to ...Retrieving the new user ID after details have been created with Create New User Wizard
I've got a 'create new user' wizard set up with several additional wizard pages containing extra information. This information will be stored into the database when the CreatedUser event fires. However, I need to obtain the user ID of the newly created user. How can this be achieved?
Assuming the user id is an Identity field that is generated in SQL, I would return the user id as an output parameter in your stored procedure and reference that parameter in your ASP.NET code.
I believe the code to get the identity value of a newly added record is: