hi all
can someone show me how to display the username in the welcome page, i found this in many portals they write "welcome: 'the person who is authentified'".
how can i have the names from the NT counts?
Hi,
I found a web part that you can include on the home page of SPS, I've made a couple of changes to it, so it will only show the users name and increased the font a little.
Below is the exported web part code, just copy and paste into a new text file and save it as a .dwp and then import it into your portal.
<?xml version="1.0"?>
<WebPart xmlns="urn:schemas-microsoft-com:webpart:">
<Title>User Details</Title>
<Description>Displays Users Name and IP Address using in built in Server Vars</Description>
<Content>'Generic Web Part Function. REQUIRED.
Function GetContent(nod)
' Displays user details and IP address
' pinched from MS Extranet sample
Dim UserName ' var for Username
Dim IPAddress ' var for remote_address
Dim strHTMLRet ' Output string
Dim BrowserVersion
Dim UserNameRep
Dim FullName
On Error Resume Next
'get username - note this bit of code required because if anonymous then blank string
UserName = request.servervariables("Logon_User"
if Len(UserName) = 0 then
UserName = "Anonymous"
end if
hi
i used the code you sent me but when i tried to import the file .dwp it gives me this error:
DDSC.ImportDDSC.Import(varDashboardID);window.location.href=window.location.href
i tried also to put the content of the file as the content of the web part but it generate too much errors.
can you help me to solve this problem?
thank you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.