PC Review


Reply
Thread Tools Rate Thread

Adding details to user profile

 
 
JJ
Guest
Posts: n/a
 
      30th Jan 2007
Whats the best way to do this?:

Users from different companies need to log into a web site. I want to add
the users company name, address etc to their profile. However I want the
company details to be stored separately (i.e. in a separate table in the
database) as more than one person could be from the same company.

I though that if I set up the company table and add the companyID to the
user profile that might do the job?

JJ


 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      30th Jan 2007
You can have the user pick a company when they sign up for an account. That
would work rather nicely. Store the companies in a table and then link it to
the user. You can create a separate user table rather than store all in
profile, but you can also use the key of the company table in the profile
table, to link them.

If you are trying to brand it, use an HTTP handler with the brand as the
first dot, like microsoft.mycompany.com. You can then have the handler set
the application and use different applications in the aspnet_application
table. You can then skin the site with their look and feel. If HTTP handler
is too much of a pain, you can create the entire functionality of the site
in libraries, GAC them and add different branded sites (same site, different
skin). It serves the same purpose.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
"JJ" <(E-Mail Removed)> wrote in message
news:uK$(E-Mail Removed)...
> Whats the best way to do this?:
>
> Users from different companies need to log into a web site. I want to add
> the users company name, address etc to their profile. However I want the
> company details to be stored separately (i.e. in a separate table in the
> database) as more than one person could be from the same company.
>
> I though that if I set up the company table and add the companyID to the
> user profile that might do the job?
>
> JJ
>


 
Reply With Quote
 
JJ
Guest
Posts: n/a
 
      30th Jan 2007
Hi Gregory.
Thanks for you reply.

I don't actually want the user to see the other companies. as they shouldn't
see who else is a 'client'. This is a bit of a pain as it means the admin
has to set the users company later (unless theres another way of doing
this - I wish there was but I cannot think of one).

Its not a case of branding, useful though your information is - just a case
of only allowing a company to see their own projects.
JJ



"Cowboy (Gregory A. Beamer)" <(E-Mail Removed)> wrote in
message news:EBD211DE-A6B6-4284-99B2-(E-Mail Removed)...
> You can have the user pick a company when they sign up for an account.
> That would work rather nicely. Store the companies in a table and then
> link it to the user. You can create a separate user table rather than
> store all in profile, but you can also use the key of the company table in
> the profile table, to link them.
>
> If you are trying to brand it, use an HTTP handler with the brand as the
> first dot, like microsoft.mycompany.com. You can then have the handler set
> the application and use different applications in the aspnet_application
> table. You can then skin the site with their look and feel. If HTTP
> handler is too much of a pain, you can create the entire functionality of
> the site in libraries, GAC them and add different branded sites (same
> site, different skin). It serves the same purpose.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
> http://gregorybeamer.spaces.live.com
>
> ********************************************
> Think outside the box!
> ********************************************
> "JJ" <(E-Mail Removed)> wrote in message
> news:uK$(E-Mail Removed)...
>> Whats the best way to do this?:
>>
>> Users from different companies need to log into a web site. I want to add
>> the users company name, address etc to their profile. However I want the
>> company details to be stored separately (i.e. in a separate table in the
>> database) as more than one person could be from the same company.
>>
>> I though that if I set up the company table and add the companyID to the
>> user profile that might do the job?
>>
>> JJ
>>

>



 
Reply With Quote
 
JJ
Guest
Posts: n/a
 
      30th Jan 2007
I think I'll do as you say and link the company table to the user profile.
Thanks,
JJ
"JJ" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Gregory.
> Thanks for you reply.
>
> I don't actually want the user to see the other companies. as they
> shouldn't see who else is a 'client'. This is a bit of a pain as it means
> the admin has to set the users company later (unless theres another way of
> doing this - I wish there was but I cannot think of one).
>
> Its not a case of branding, useful though your information is - just a
> case of only allowing a company to see their own projects.
> JJ
>
>
>
> "Cowboy (Gregory A. Beamer)" <(E-Mail Removed)> wrote in
> message news:EBD211DE-A6B6-4284-99B2-(E-Mail Removed)...
>> You can have the user pick a company when they sign up for an account.
>> That would work rather nicely. Store the companies in a table and then
>> link it to the user. You can create a separate user table rather than
>> store all in profile, but you can also use the key of the company table
>> in the profile table, to link them.
>>
>> If you are trying to brand it, use an HTTP handler with the brand as the
>> first dot, like microsoft.mycompany.com. You can then have the handler
>> set the application and use different applications in the
>> aspnet_application table. You can then skin the site with their look and
>> feel. If HTTP handler is too much of a pain, you can create the entire
>> functionality of the site in libraries, GAC them and add different
>> branded sites (same site, different skin). It serves the same purpose.
>>
>> --
>> Gregory A. Beamer
>> MVP; MCP: +I, SE, SD, DBA
>> http://gregorybeamer.spaces.live.com
>>
>> ********************************************
>> Think outside the box!
>> ********************************************
>> "JJ" <(E-Mail Removed)> wrote in message
>> news:uK$(E-Mail Removed)...
>>> Whats the best way to do this?:
>>>
>>> Users from different companies need to log into a web site. I want to
>>> add the users company name, address etc to their profile. However I want
>>> the company details to be stored separately (i.e. in a separate table in
>>> the database) as more than one person could be from the same company.
>>>
>>> I though that if I set up the company table and add the companyID to the
>>> user profile that might do the job?
>>>
>>> JJ
>>>

>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding an application to user profile CLL Windows XP Basics 3 27th Apr 2009 05:29 PM
Adding a hidden mailbox to a user profile Midwest Muskie Microsoft Outlook Discussion 3 14th Aug 2008 01:41 PM
'Script' Explorer Details view for 'Default User' profile... david.brightman@bigfoot.com Windows XP Setup 1 18th May 2007 10:18 AM
Local user profile when adding PC to domain =?Utf-8?B?UGhpbCBXcmlnaHQ=?= Microsoft Windows 2000 Active Directory 2 13th May 2004 02:46 PM
Adding Address Book to User Profile =?Utf-8?B?VEo=?= Microsoft Outlook Contacts 3 17th Jan 2004 10:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:54 AM.