home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 March
/
CHIPCD_3_98.iso
/
software
/
testsoft
/
exchange
/
webdata
/
usa
/
finduser
/
details.asp
next >
Wrap
Text File
|
1997-08-25
|
6KB
|
224 lines
<!--#include file="../constant.inc" -->
<!--#include file="../lib/session.inc" -->
<!--#include file="../lib/getrend.inc" -->
<%
'<!--Microsoft Outlook Web Access-->
'<!--Find User details.asp : Displays account details. -->
'<!--Copyright (c) Microsoft Corporation 1993-1997. All rights reserved.-->
On Error Resume Next
CheckSession
bcGrayM = "#c0c0c0"
bcGray = "#909090"
bcGrayD = "#707070"
set objRenderApp = Application( bstrRenderApp )
If objRenderApp.ConfigParameter("Publish GAL") = False And Session(bstrAuthenticated) = False Then
ReportErrorClose L_errPageDisabled_ErrorMessage
End If
strAddrEntryID = Request.QueryString("obj")
Set objAddrEntry = objOMSession.GetAddressEntry(strAddrEntryID)
If Err.Number <> 0 or objAddrEntry Is Nothing Then
ReportErrorClose L_errOpeningAddressEntry_ErrorMessage
End If
Set objRender = GetObjectRenderer
objRender.DataSource = objAddrEntry
%>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Detailed Information</TITLE>
</HEAD>
<body bgcolor=white text=black link=white vlink=white>
<font size=3><b>Details for: </font>
<FONT SIZE=3><b>
<% objRender.RenderProperty ActMsgPR_DISPLAY_NAME, 0, Response %>
</b></font>
<!-- top bar -->
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" bgcolor=<%=bcGrayD%>>
<TR>
<TD align=right height="20" valign=center colspan=3 nowrap>
<a href="JavaScript:self.close()"><FONT <%=bstrFace%> SIZE=2><b>Close</b></font></a>
</TD>
</TR>
</table>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=6 WIDTH="100%" bgcolor=<%=bcGrayM%>>
<tr>
<td width=25% valign=baseline align=right >
<font size=2 ><b>Name:</b></font></td>
<td width=25% valign=baseline colspan=3 >
<font size=2>
<%bstrName = objAddrEntry.Fields.Item(ActMsgPR_GIVEN_NAME)
bstrName = bstrName + " " + objAddrEntry.Fields.Item(ActMsgPR_SURNAME)%>
<% objRender.Write bstrName, Response %>
</font> </td>
</tr>
<tr>
<td width=25% valign=baseline align=right width=25%>
<font size=2><b>Alias:</b></font></td>
<td width=25% valign=baseline colspan=1 >
<font size=2>
<% objRender.RenderProperty ActMsgPR_ACCOUNT, 0, Response %>
</font> </td>
<td width=25% valign=baseline align=right>
<font size=2> <b>Phone:</b></font></td>
<td width=25% valign=baseline colspan=1 >
<font size=2>
<% objRender.RenderProperty ActMsgPR_BUSINESS_TELEPHONE_NUMBER, 0, Response %>
</font> </td>
</tr>
<tr>
<td width=25% valign=baseline align=right>
<font size=2><b>Display Name:</b></font></td>
<td valign=top align=left colspan=3 >
<font size=2>
<% objRender.RenderProperty ActMsgPR_DISPLAY_NAME, 0, Response %>
</font>
</td>
</tr>
<%
If objAddrEntry.DisplayType = 1 Then %>
</table>
<%
nPubLimit = objRenderApp.ConfigParameter("Publish GAL Limit")
' No limit enforced by DSA
If CStr(nPubLimit) = "" Then
nPubLimit = 9999
End If
If objAddrEntry.Members.Count > nPubLimit Then %>
<strong>This query would return too many addresses!</strong><br>
<% Else %>
<TABLE valign=top BORDER=0 CELLSPACING=0 CELLPADDING=0 width="100%">
<TR valign=middle bgcolor="330000">
<TD align=left valign=middle nowrap colspan=5>
<!--<FONT <%=bstrFace%> color="cccc99" size=2><b> </FONT>-->
</TD>
</TR>
<TR bgcolor="#c0c0c0">
<TD WIDTH=40%>
<B><FONT size=2>Name</FONT></B>
</TD>
<TD WIDTH=14%>
<B><FONT size=2>Alias</Font><B>
</TD>
<TD WIDTH=14%>
<B><FONT size=2>Department</FONT></B>
</TD>
<TD WIDTH=14%>
<B><FONT size=2>Office</FONT></B>
</TD>
<TD WIDTH=18%>
<B><FONT size=2>Phone</FONT></B>
</TD>
</tr>
</TABLE>
<FONT size=2>
<% objRender.RenderProperty ActMsgPR_CONTAINER_CONTENTS, False, Response %>
</FONT>
<% End If %>
<%
Else %>
<tr>
<td width=25% align=right>
<font size=2><b>Title:</b></font></td>
<td width=25% valign=baseline align=left colspan=1 >
<font size=2>
<% objRender.RenderProperty ActMsgPR_TITLE, 0, Response %>
</font></td>
<td width=25% valign=baseline align=right>
<font size=2><b>Manager:</b></font></td>
<td width=25% valign=baseline align=left colspan=1 >
<font color="black" size=2 <%=bstrFace%>>
<% objRender.Write objAddrEntry.Manager.Name, Response %>
</font></td>
</tr>
<tr>
<td align=right>
<font size=2><b>Office:</b></font></td>
<td>
<font size=2 >
<% objRender.RenderProperty ActMsgPR_OFFICE_LOCATION, 0, Response %>
</font></td>
<td align=right>
<font size=2><b>Department:</b></font></td>
<td>
<font size=2>
<% objRender.RenderProperty ActMsgPR_DEPARTMENT_NAME, 0, Response %>
</font></td>
</tr>
<tr>
<td align=right>
<font size=2><b>Company:</b></font></td>
<td>
<font size=2>
<% objRender.RenderProperty ActMsgPR_COMPANY_NAME, 0, Response %>
</font></td>
<td align=right>
<font size=2><b>City:</b></font></td>
<td>
<font size=2 >
<% objRender.RenderProperty ActMsgPR_LOCALITY, 0, Response %>
</font></td>
</tr>
</table>
</td>
</tr>
</table>
<TABLE bgcolor=white BORDER=0 CELLSPACING=1 CELLPADDING=2 width=100% >
<tr bgcolor=<%=bcGray%>><td WIDTH=100%><font color=white size=2><b>Email Addresses<br></b></font>
</td></tr>
<%
EmailAddresses = objAddrEntry.Fields.Item(ActMsgPR_EMS_AB_PROXY_ADDRESSES)
Count = UBound(EmailAddresses)
For i = LBound(EmailAddresses) To Count
%><tr><td>[<% objRender.Write EmailAddresses(i), Response %>]</td></tr>
<% Next %>
</table>
<%
End If %>
</body>
</HTML>