I wanted to allow users to choose the "xxx" in my site www.mydomain.com/xxx
If that "xxx" is not already used then I can give them that particular name.
Now using mvc, how can I model that routing mechanism.
View Complete Post
Hello All,
What is the best way to keep track of user specific information?
I want to show information in querys etc based upon specific properties, for instance a users belongs to a dealer, and that dealer has an ID.
So is it a good way to store that dealer ID in a session variable or should I consider a other option to use this on multiple pages.
Does anyone have good thoughts about this?
thanks,
Peter
hello guys
i'm wondering is there a way that i can add my configuration User to a specific role ?
so i have this in my web.config file
<forms loginUrl="/Account/Login.aspx"> <credentials passwordFormat="Clear"> <user name="Admin@admin.com&qu
i am writing a windows service in C# where I have to load 3rd party as well as in house DLLs in separate App Domains -- so basically its kind of a plug in architecture, where each assembly is going to run in its own app domain to main code isolation i want to run these app domains using separate user identities based on the functionalities of the dll. Is there a way to achieve this. can somone share a code example.
I've looked into impersonation, but it seems like with impersonation, I have to impersonate every thread that I create in the app domain.
how does IIS do it when executing an ASP .net application where a specific user identity is provided in web.config. Does IIS impersonate every incoming http reauest coming for this web app or is there one uber way to assign identity to the web app so that all its requests will be running under this new identity and we don't have to impersonate every thread.
Thank You, -P!
I was wondering what's the difference between these two ways to store user-specific settings.
In isolated storage you're supposed to have the security that the path to the files is unknown. But MSDN still recommends not to store sensitive information. On the other hand, user-specific settings, maybe with default values in the app.config file, are also stored in a randomly generated folder. In this case I imagine that you can encrypt the user settings the same way you do with the app.config file.
My question is, what are the advantages of using one method over the other to store user-specific settings?
SQL 2005.
How can I find all routines (sp, fn) exec granted to a specific user in a given database ?
Thanks !!
Hi,
We are coding an intranet site using .net DirectoryServices and AccountManagement to create a computer account in Active Directory with access rules allowing a specific user to add the computer to the domain. Has anyone had any success using the AccessRuleFactory method to set access rules? I'm stumped with a few aspects. So far, this is what we have...
Using AccountManagement, we can easily add the computer:
Dim dsamComputer As New ComputerPrincipal(dsamDomainContext) dsamComputer.Name = UCase(txtComputerName.Text) dsamComputer.SamAccountName = UCase(txtComputerName.Text) + "$" txtDesc.Text = Trim(txtDesc.Text) If txtDesc.Text.Length > 0 Then dsamComputer.Description = txtDesc.Text dsamComputer.Enabled = True dsamComputer.Save()
Next we get the DirectoryEntry and ObjectSecurity for the computer. Also dim the ACE object:
Dim deComputerDirectoryEntry As DirectoryEntry = dsamComputer.GetUnderlyingObject Dim adsComputerObjectSecurity As ActiveDirectorySecurity = deComputerDirectoryEntry.ObjectSecurity Dim adarAccessControlEntry As ActiveDirectoryAccessRule
Hi All,
I have a question regarding the custom messages, custom colors on headers and footers of the SSRS reports to be changed as the user specifies changes accordingly on the reports and prints. Is this possible in SSRS. Please advice.
hi,
can someone help me with this?
i'm using wss 3.0 and infopath 2007.
i have a form that need to be approved by a specific approver.
first when the user submit the form it send an email to the specific approver and the form is also submitted to a library.
so the approver gets an email and the approver need to get the form submitted to his library.
the email part is working fine. now i miss the library part.
i think i need to use a workflow. but how can i create a workflow that assinged a to-do item to a specific approver instead of a group.
in my library i have the following fields:
form name, created by and aprrover's name.
now i need the workflow to look up for the name of the approver and send an "assigned a to-do item" to the specific approver of the form
Hello every body,
I need to know how I can find which groups of an active directory are managed by a specific user. The idea is to create a WinForm appication where the user enter a name and then, the code chek whicjh group of the AD is managed by the name entered.
Has someone any idea? I jusrt need specification about the Active Directory classes and methods...
Thanks ;-)
I've got a nested query caml which basically should check 3 things:
The first to bullet points work like a charm, but I can't figure out how to get the last one to work. Here is what I thought should work:
query += "<Where>"; query += "<Eq><Membership Type=\"CurrentUserGroups\">"; query += "<Value Type=\"String\">Name of my specific group</Value>"; query += "</Membership></Eq>"; query += "</Where>";
Somehow it doesn't seem to be the correct approach, is there somebody who can help me out on this? Thanks
Hello Friends,
I logged-in on a machine by using a user account (TempAccount). I installed (and configure) a software(ABC), it is installed only for the current user(TempAccount) a limitation in the software. i deployed a web service on the same machine, web service is supposed to use the same software (ABC), but it is not able to find the software itself, I suppose that the web service is using other account while at the time of execution.
IS THERE A TO FORCE A WEB SERVICE TO USE SPECIFIC USER ACCOUNT ? ( IN MY CASE "TempAccount" )
Thanks.
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend