-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.aspx.cs
50 lines (47 loc) · 1.62 KB
/
default.aspx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using System;
using System.IO;
using DFISYS.API;
namespace DFISYS
{
/// <summary>
/// Startup Page. Redirects in dependents of the PortalType to the Pages "RenderTable.aspx" or "FrameSet.htm"
/// </summary>
public partial class StartPage : System.Web.UI.Page
{
protected void Page_Load(object sender, System.EventArgs e)
{
//PortalDefinition _objPD = PortalDefinition.Load();
//if (_objPD != null && _objPD.tabs != null && _objPD.tabs.Count > 0)
//{
// ChannelUsers objUser = new ChannelUsers();
// foreach (PortalDefinition.Tab _objTab in _objPD.tabs)
// {
// if (!_objTab.IsHidden && objUser.HasViewRights(Page.User, _objTab.roles))
// {
// string _strMainPage = Config.GetTabURL(_objTab.reference);
// Response.Redirect(_strMainPage, false);
// return;
// }
// }
// Response.Redirect("/login.aspx");
//}
//else
//{
// Response.Redirect( Config.GetMainPage(Page.User.Identity.Name));
//}
Response.Redirect("/office.aspx");
}
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
}
}
}