+ Post New Thread
Results 1 to 12 of 12
Virtual Learning Platforms Thread, redirect a user based on the OU Sharepoint in Technical; Could any one tell me how i would redirect a user based on the OU to a particular site in ...
  1. #1

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    283
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    21

    redirect a user based on the OU Sharepoint

    Could any one tell me how i would redirect a user based on the OU to a particular site in sharepoint?

    Basically i have 1 site for staff and 1 for students.

  2. #2
    u8dmtm's Avatar
    Join Date
    Feb 2006
    Posts
    231
    Thank Post
    7
    Thanked 13 Times in 12 Posts
    Rep Power
    20
    Are you trying to redirect them before they enter Sharepoint, on a specified landing page in Sharepoint or from everywhere in Sharepoint?

  3. #3

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    283
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    21
    Im trying to redirect users when they log in, so the two different groups have seperate landing pages
    Last edited by mtdmitchell; 26th March 2010 at 02:52 PM.

  4. #4
    u8dmtm's Avatar
    Join Date
    Feb 2006
    Posts
    231
    Thank Post
    7
    Thanked 13 Times in 12 Posts
    Rep Power
    20
    If you are confident coding in ASP.Net then you could code a landing page which works along the lines of the following:

    Code:
    [C#] private void Page_Load(object sender, System.EventArgs e) {
       string userName = this.User.Identity.Name; if (
       this.User.IsInRole("Administrators") ) {
          Write(userName + " is a member of the Portal Administrators group.");
       }
          else { Write(userName + " is not a member of the Portal
       Administrators group.");
    } }		
      
    [Visual Basic] 
    Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)Handles MyBase.Load
       Dim userName As String = Me.User.Identity.Name
       If Me.User.IsInRole("Administrators") Then
          Write(userName + " is a member of the Portal Administrators group.")
       Else
          Write(userName + " is not a member of the Portal Administrators group.")
       End If
    End Sub
    And then redirect based on role.

  5. #5

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    283
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    21
    Hmm im not confident coding in ASP.Net in fact i dont know anything about it.

    I do know a little scripting and XHTML, Css. So i think if im pushed in the right direction i work it out.

  6. #6
    u8dmtm's Avatar
    Join Date
    Feb 2006
    Posts
    231
    Thank Post
    7
    Thanked 13 Times in 12 Posts
    Rep Power
    20
    Take a look at the following, which may help you:

    SPUtility.Redirect Method (Microsoft.SharePoint.Utilities)

  7. Thanks to u8dmtm from:

    mtdmitchell (26th March 2010)

  8. #7

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    283
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    21
    Thanks i'll take a look over the weekend

  9. #8
    gpjt's Avatar
    Join Date
    Apr 2008
    Location
    Midlands
    Posts
    95
    Thank Post
    4
    Thanked 13 Times in 12 Posts
    Rep Power
    15
    We have a landing page for all users when they login and enables you to give access to specific sites. For example at the top level site, just a basic page with the different portals linked on the current navigation bar on the left hand side where staff, sudents portals etc are linked.
    Set groups up for each user type and place all the users that you want to give access to certain areas in the groups i.e staff, students, governers etc.
    You can now give them access to the different portals and once they login then it only shows which portal they have access too.
    Need any further help let us know.

  10. #9

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    283
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    21
    thanks gpjt, I already have the sites restricted by user group i just wanted users from the staff group to land on a staff only page when they log in.

  11. #10

    Join Date
    Jan 2007
    Location
    Nottinghamshire
    Posts
    530
    Thank Post
    1
    Thanked 84 Times in 58 Posts
    Rep Power
    38
    Are you wanting to set a different IE home page? If so use group policy. Or do you want an IE window to open upon logon? If so use a group policy log on script perhaps.

  12. #11

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    283
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    21
    I need to re-direct users when they are logging in to sharepoint,they arent always going to be on our network so GP would not work.

    they could be using a home pc for example.
    Last edited by mtdmitchell; 26th March 2010 at 09:06 PM.

  13. #12

    Join Date
    Jan 2009
    Location
    Taunton
    Posts
    62
    Thank Post
    2
    Thanked 5 Times in 5 Posts
    Rep Power
    12
    Not in anyway associated with SalamanderSoft, but I remembered reading this on their website:

    SalamanderSoft Limited - Redirect Web Part

    Not a free solution but looks like it does exactly what you are after...

  14. Thanks to andykemp from:

    rpwillis (30th March 2010)

SHARE:
+ Post New Thread

Similar Threads

  1. List of Sharepoint based VLEs?
    By Sam_Brown in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 8th March 2010, 01:38 PM
  2. AD: Block user settings GPO inheritance based on computer location
    By morganw in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 23rd October 2009, 11:48 AM
  3. Sharepoint based LMS by ElearningForce
    By edu-inter in forum Virtual Learning Platforms
    Replies: 11
    Last Post: 17th September 2009, 09:19 PM
  4. Replies: 8
    Last Post: 7th May 2008, 02:00 PM
  5. ISA 2004 - Upstream proxy based on user group?
    By Ravening_Wolf in forum Wireless Networks
    Replies: 0
    Last Post: 11th December 2006, 01:48 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •