When this option is checked this Web Part will display the username of the individual who is viewing the Web Part. (Example: domain\username)
When this option is checked this Web Part will display the text “Currently Logged In As” above the Username provided that Edit Information, Manage My Alerts, and Change Password are not active.
This property allows you to use HTML to customize the current display of the Web Part. By default the current display is:
<script language="javascript">function ShowWelcome(strCurrentView){if (strCurrentView == ""){document.write ('" + WelcomeMessage + "');}}</script><table border="1" width="600" id="table1" style="border-collapse: collapse"><tr><td bgcolor="addce3"><p align="center"><b><font face="Verdana">Self User Management</font></b></td></tr><tr><td><table border="0" width="100%" id="table2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td bgcolor="f0f1f0" width="111"><table border="0" width="100%" id="table2"><td width="110" bgcolor="<%FunctionColor%>" align="left"><a href="<%UserHome%>"><font style="font-size: 9pt" color="<%FunctionTextColor%>" face="Arial"><%UserName%></font></a></td></tr><%ChangePasswordText%><%MyInfoText%><%MyAlertsText%><tr><td width="110" bgcolor="<%FunctionColor%>" align="left"><font face="Arial" color="<%FunctionTextColor%>" style="font-size: 9pt"><%LoginText%></font></td></tr></table></td><td align="left" valign="top" bgcolor="ffffff" width="*"><script language="javascript">ShowWelcome('<%CurrentView%>');</script><%Function%></td></tr></table></td></tr></table>
• <%CurrentView%> - Displays the name of the current function being displayed. If not function is displayed CurrentView will be empty.
• <%UserName%> - Displays the current Username of the individual viewing the Web Part.
• <%FunctionColor%> - Controls the color of the background that the function text is displayed in.
• <%FunctionTextColor%> - Controls the color of the text that displays a link to the function.
• <%UserHome%> - Returns a URL to the current home page of the user.
• <%ChangePasswordText%> - Displays the HTML stored in the Function HTML Property for Change Password.
• <%MyInfoText%> - Displays the HTML stored in the Function HTML Property for Edit My Info.
• <%MyAlertsText%> - Displays the HTML stored in the Function HTML Property for My Alerts.
• <%LoginText%> - Displays Sign In or Sign Out, depending the current logged in status of the user. It will be linked to allow the user to Sign In or Sign out.
• <%Function%> - Displays the function window if the current view matches the current function selected. The window is the editable window for changing Passwords, Info, and Alerts.
<table class="ms-summarycustombody" rules=rows border=0 cellspacing=0 cellpadding=0 width=100%><tr><td colspan=3 align=left width=100%><b><%DisplayLoggedIn%></b></td></tr><tr><td colspan=3></td></tr><tr><td colspan="3" class="ms-partline" width=100%><IMG SRC="/_layouts/images/blank.gif" width=1 height=1 alt=""></td></tr><tr><td colspan=3></td></tr><tr><td colspan=3 align=left width=100%><%DisplayName%> <%LoginText%></td></tr></table>
• <%DisplayLoggedIn%> - Displays the text “Currently Logged In As”.
• <%DisplayName%> - Displays the Name of the individual currently logged in.
• <%LoginText%> - Displays the Sign In or Sign Out text and link.
This property allows you to use HTML to customize where functions of Change Password, Edit My Information, and My Alerts is displayed. By default the current display is:
<tr><td width="110" bgcolor="<%FunctionColor%>" align="left"><font color="<%FunctionTextColor%>" face="Arial" style="font-size: 9pt"><a href="<%ChangePasswordLink%>"><%FunctionChangePasswordText%></a></font></td></tr>^<tr><td width="110" bgcolor="<%FunctionColor%>" align="left"><font color="<%FunctionTextColor%>" face="Arial" style="font-size: 9pt"><a href="<%MyInfoLink%>"><%FunctionEditInfoText%></a></font></td></tr>^<tr><td width="110" bgcolor="<%FunctionColor%>" align="left"><font color="<%FunctionTextColor%>" face="Arial" style="font-size: 9pt"><a href="<%MyAlertsLink%>"><%FunctionMyAlertsText%></a></font></td></tr>
Before continuing notice the “^” between each of the three functions. This separates each function so that when printed each is treated separately. The order is defined as ChangePassword^EditMyInfo^MyAlerts. Make sure you include the “^” between each. Also make sure that you do not include “^” at the beginning or end of the HTML.
• <%FunctionColor%> - Controls the color of the background that the function text is displayed in.
• <%FunctionTextColor%> - Controls the color of the text that displays a link to the function.
• <%ChangePasswordLink%> - Displays a link which shows the window of the function Change Password.
• <%FunctionChangePasswordText%> - Displays text which, when used with the <%ChangePasswordLink%>, allows the user to view the Change Password window.
• <%MyInfoLink%> - Displays a link which shows the window of the function Edit My Information.
• <%FunctionEditInfoText%> - Displays text which, when used with the <%MyInfoLink%>, allows the user to view the Edit My Information window.
• <%MyAlertsLink%> - Displays a link which shows the window of the function My Alerts.
• <%FunctionMyAlertsText%> - Displays text which, when used with the <%MyAlertsLink%>, will allow the user to view the My Alerts window.
This property allows you to localize the user interface. The easiest way to use this property is to follow these steps:
1. Copy the sample code below into Notepad and make the appropriate translations to the content between each tag.
2. Remove all of the carriage returns and replace any double quotes (“) with single quotes (‘). Make sure there aren’t any brackets ([ ]) anywhere in the text. If there are, replace them with parentheses ( ). The XML nodes must appear in the exact order as they are shown below; you cannot omit nodes or reorder them.
3. Copy the modified LCIDXML content into this property.
CorasWorks recommends that you use a naming convention that makes it clear which language(s) are supported by the web part.
Sample Code:
<?xml version="1.0" encoding="utf-8"?>
<CorasWorks lcid="default">
<UserDisplay>
<Login>Sign In</Login>
<Logout>Sign Out</Logout>
<Anonymous>Anonymous</Anonymous>
<CurrentlyLoggedInAs>Currently Logged In As:</CurrentlyLoggedInAs>
<MenuColor>c6deff</MenuColor>
<MenuSelectedColor>FFCC66</MenuSelectedColor>
<MenuTextColor>330099</MenuTextColor>
<MyPassword>My Password</MyPassword>
<EditMyInfo>Edit My Info</EditMyInfo>
<MyAlerts>My Alerts</MyAlerts>
<OldPassword>Old Password:</OldPassword>
<NewPassword>New Password:</NewPassword>
<ConfirmPassword>Confirm Password:</ConfirmPassword>
<Submit>Submit</Submit>
<Complete>Complete</Complete>
<PasswordChanged>Password Changed</PasswordChanged>
<Status>Status:</Status>
<ErrorUserNotFound>Error - User Not Found</ErrorUserNotFound>
<ErrorOldPasswordIncorrect>Error - Old Password Incorrect</ErrorOldPasswordIncorrect>
<ErrorGroupPolicyConflict>Error - Check Password Complexity and Mininum Age of 3 Days.</ErrorGroupPolicyConflict>
<ErrorFillInAllPasswordFields>Error - Fill In All Password Fields</ErrorFillInAllPasswordFields>
<ErrorNewAndConfirmPassword>Error - New And Confirm Password Do Not Match</ErrorNewAndConfirmPassword>
<DisplayName>Display Name:</DisplayName>
<EmailAddress>E-mail Address:</EmailAddress>
<Notes>Notes:</Notes>
<InformationUpdated>Information Updated</InformationUpdated>
<SiteURL>Site URL(s):</SiteURL>
<ReturnLevels>Return Levels:</ReturnLevels>
<ViewAlerts>View Alerts</ViewAlerts>
<EventAdd>Additions to the list or list item.</EventAdd>
<EventAll>All events pertaining to the list or list item.</EventAll>
<EventDelete>Deletion of a list or list item.</EventDelete>
<EventDiscussion>Changes in Web discussions.</EventDiscussion>
<EventModify>All changes made in a list or list item.</EventModify>
<Site>Site Title: </Site>
<Delete>Delete</Delete>
<AlertTitle>Alert Title</AlertTitle>
<CreateAlert>Create Alert</CreateAlert>
<EventType>Event Type</EventType>
<SiteTitleBGColor>blue</SiteTitleBGColor>
<SiteTitleColor>white</SiteTitleColor>
<DeleteImage>_layouts/images/crit_16.gif</DeleteImage>
<DeleteAlert>Delete Selected Alert(s)</DeleteAlert>
<Actions>Actions</Actions>
<ShowVersion>Show Version</ShowVersion>
<DeleteMessage>You are about to delete your selected alerts!</DeleteMessage>
<AlertImage>_layouts/images/addcol.gif</AlertImage>
</UserDisplay>
</CorasWorks>
The CorasWorks node supports multiple UserDisplay nodes, allowing for the same web part to be used on multiple sites. When the web part loads, the language of the site that the web part is hosted in will automatically be used, provided an ID attribute for the site’s UserDisplay node has been defined, otherwise, the UserDisplay node with an attribute of 'default' will be used.
To localize the web part for multiple languages, repeat these tags (and the content in between) for each language. However, instead of using ‘default’ after the web part ID, use one of the 4-digit LCIDs provided below. Copy the rest of the LCIDXML text and place it between these tags for each desired language, making the appropriate translations for each language.
The following list shows the LCID for each
language:
LCID Language
1029 Czech
1030 Danish
1043
Dutch
1033 English
1035 Finnish
1036 French
1031 German
1032
Greek
1038 Hungarian
1040 Italian
1044 Norwegian
1045 Polish
2070
Portuguese
1046 Portuguese – Brazilian
1049 Russian
1034
Spanish
1053 Swedish
This property allows you to use HTML to customize the current display of the Welcome Message shown to the user when they access the page. By default the current display is
When this option is checked, friendly messages will be shown to the user should an error occur. If this is unchecked the full Error Message is display including the Stack Trace.
When this option is checked, a Sign In or Sign Out link will be displayed depending on if the user is anonymous or logged in.
This property allows you to modify the location where the user will be taken once they log out. The format of this property is a URL whether it be relative or direct. (Example: http://www.yoursite.com, /, .) “.” Indicates current page, and “/” indicates the root level site.
When this option is checked, this Web Part will display a Change Password form. Included in the form is a Current Password, New Password, Confirm Password text boxes. Also available is a Status box which will show the current status of the Change. The following errors are captured;
• New And Confirm Password Do Not Match – This indicates that the new password and retyped password do no match
• Old Password Incorrect – This Indicates that the current password entered is incorrect
• Group Policy Conflict – This indicates that there is a Group Policy conflict when the user attempts to change their password. Check your Group Policy settings for more information. The most common errors are Minimum Password Age, Password Complexity, and User cannot change password.
This property controls the search location for users stored in Windows or Active Directory. Format of this is (ldap://domain.com or winnt://OU) In some cases you may have this user exist in two separate domains which could cause a conflict. To mitigate the issue specifying the correct domain to search will solve this problem.
When this option is checked, an Edit My Information window is made available, allowing the user to edit their Display Name, Email Address, and Notes inside of SharePoint.
When this option is checked, the My Alerts window will become available. My Alerts allows the user to manage their alerts within any site inside the site collections specified in the Site URLs Property.
This property allows you to manage the Sites that are returned in the My Alerts Window. You can specify multiple sites by place a “;” between each Site URL. The format for the URL is “http://site”.
This property allows you to control how many levels deep the Web Part will look when returning sites and alerts. The more levels searched the slower the Web Part will get so choose your levels wisely. It is recommended that you permit up to 4-7 levels deep.