Jump to content

Recommended Posts

Posted
Are you trying to redirect them before they enter Sharepoint, on a specified landing page in Sharepoint or from everywhere in Sharepoint?
Posted

If you are confident coding in ASP.Net then you could code a landing page which works along the lines of the following:

 

[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.

Posted

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.

Posted

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.

Posted
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.
Posted (edited)

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.

Edited by mtdmitchell

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 156 What is your preferred operating system (PC)

    1. 1. Operating systems:


      • MacOS
      • Windows 10
      • Windows 11
      • Windows Vista
      • ChromeOS
      • Other (reply)

×
×
  • Create New...