Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...User Assigned to Mulitple Company ModuleUser Assigned to Mulitple Company Module
Previous
 
Next
New Post
2/24/2008 8:46 PM
 

Basically an administrator will assign a user to different companies within an organization. The companies will be created by the administrator each with a unique ID.

1. Users logs into DotNetNuke

2. Depending of what companies the user is assigned too gets an option (Dropdown Box) to select the companies from and sign on

3. Only be able to see data for the company selected in step 2.

Is there a module that will do that, over what's the most efficient way to achieve this?

Thanks

 

 

 
New Post
2/24/2008 11:54 PM
 

Create one role per company and assign those roles to the users as required.

Company=Role

Then apply view and edit permissions for those roles to your pages and modules. When a user signs in, they will only see content that they have rights to see.

What exact modules you need will depend on what your users need to do.

Rob

 
New Post
2/25/2008 9:32 AM
 

Hi Rob,

Using Roles wont solve my business situation, a user can be assigned to multiple companies by an administrator, so we need to give an option to the user which company to log on to.

I am not sure if anyone out there had the same business process as the one I am trying to solve.

Does anyone out there wants to work on this customization, please drop me a line and we discuss more.

Thanks

Yassin

 
New Post
2/26/2008 11:01 AM
 

How you organize/make data avaiable to users.  Is each company data setup/isolated in a portal (ex. child portal)?  Or you have a single portal and a custom module that will display data authorized to the user?

Break down the logic in two steps

Step 1.  Authentication - login and validate username/password.  If authenticated (valid username/password) then redirect users to a page where users have option to pick next action.  DNN CORE supports page redirect after login

Step 2.  Authorization - what data can the user see?  Per Rob's suggestion, you assign users to DNN security role(s).   To make it clean, leverage Role Group in DNN to cleanly separate custom roles for Company vs. the DNN built-in roles.  It is possible to write SQL query to get a list of roles (or companies) user belongs to.  If there is only one company, show data for that one company.  If more then ones, prompt the user to select a company.  Suggested modules:  NukeDK or IndooGrid 2.0.  You can get IndooGrid and try out for 30 days.


Fuji Nguyen
FREE Visitor Hit Counter
Visit opensource.indyneinc.com for detail.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...User Assigned to Mulitple Company ModuleUser Assigned to Mulitple Company Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out