Microsoft Content Management Server - Friendly (Posting/Channel).LastModifiedBy.Name

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2004 > Friendly (Posting/Channel).LastModifiedBy.Name





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Friendly (Posting/Channel).LastModifiedBy.Name
Angus Logan

2004-09-15, 10:20 am

Hi All,

I was just wondering if there is a 'best practice' to get the friendly name
of a Posting/Channel Last Modified By instead of WinNT://DOMAIN/Username;

Is there a quick simple way to get the Firstname/Lastname from AD? or is the
best way just to trim off the WinNT://DOMAIN/ leaving Username?

Cheers
--
________________________________________


Angus Logan (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________



Stefan [MSFT]

2004-09-15, 10:20 am

Hi Angus,

MCMS does not store this information but it is possible by querying AD:
See here here for a sample:
http://blogs.msdn.com/stefan_gossne...2/21/44902.aspx

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Angus Logan" <angus_logan@data3.com.au> wrote in message
news:uVwM32rmEHA.3328@TK2MSFTNGP10.phx.gbl...
> Hi All,
>
> I was just wondering if there is a 'best practice' to get the friendly

name
> of a Posting/Channel Last Modified By instead of WinNT://DOMAIN/Username;
>
> Is there a quick simple way to get the Firstname/Lastname from AD? or is

the
> best way just to trim off the WinNT://DOMAIN/ leaving Username?
>
> Cheers
> --
> ________________________________________

>
> Angus Logan (MCAD/MCDBA/MCP)
> Lead Software Developer
> Microsoft Application Solutions
> Data#3 Limited
> E angus_logan@data3.com.au
> BLOG www.anguslogan.com
> ________________________________________

>
>



Angus Logan

2004-09-15, 10:20 am

Hi Stefan,

I know this is a bit of a .NET question but...

In your experience has this caused a performance drop running this? (i will
cache it with .NET caching but am wondering about the first request).

Regards

--
________________________________________


Angus Logan (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:ea2Y$UwmEHA.512@TK2MSFTNGP10.phx.gbl...
> Hi Angus,
>
> MCMS does not store this information but it is possible by querying AD:
> See here here for a sample:
> http://blogs.msdn.com/stefan_gossne...2/21/44902.aspx
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> MCMS FAQ:
>

http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
>

http://www.gotdotnet.com/community/...t+S
erver

> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Angus Logan" <angus_logan@data3.com.au> wrote in message
> news:uVwM32rmEHA.3328@TK2MSFTNGP10.phx.gbl...
> name
WinNT://DOMAIN/Username;[vbcol=seagreen]
> the
>
>



Stefan [MSFT]

2004-09-15, 10:20 am

Hi Angus,

it depends on how often and where you are using this.
If there is a delay in retrieving this on a template the single posting
might be delays - but in the sites where I have used it I did not receive
such problems.

You could also enable output caching for this term so that this don't have
to retrieved more than one for the same posting.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Angus Logan" <angus_logan@data3.com.au> wrote in message
news:eWjXMewmEHA.3684@TK2MSFTNGP12.phx.gbl...
> Hi Stefan,
>
> I know this is a bit of a .NET question but...
>
> In your experience has this caused a performance drop running this? (i

will
> cache it with .NET caching but am wondering about the first request).
>
> Regards
>
> --
> ________________________________________

>
> Angus Logan (MCAD/MCDBA/MCP)
> Lead Software Developer
> Microsoft Application Solutions
> Data#3 Limited
> E angus_logan@data3.com.au
> BLOG www.anguslogan.com
> ________________________________________

>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:ea2Y$UwmEHA.512@TK2MSFTNGP10.phx.gbl...
> rights.
>

http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
>

http://www.gotdotnet.com/community/...t+S
erver

> WinNT://DOMAIN/Username;
is[vbcol=seagreen]
>
>



Angus Logan

2004-09-15, 10:20 am

Hi Stefan,

I am going to be using it on the footer of all pages (for an intranet).

So my plan is to cache it once per author using the username as the cache
key (and a constant)

Regards

--
________________________________________


Angus Logan (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:OcWLFjwmEHA.3684@TK2MSFTNGP12.phx.gbl...
> Hi Angus,
>
> it depends on how often and where you are using this.
> If there is a delay in retrieving this on a template the single posting
> might be delays - but in the sites where I have used it I did not receive
> such problems.
>
> You could also enable output caching for this term so that this don't have
> to retrieved more than one for the same posting.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> MCMS FAQ:
>

http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
>

http://www.gotdotnet.com/community/...t+S
erver

> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Angus Logan" <angus_logan@data3.com.au> wrote in message
> news:eWjXMewmEHA.3684@TK2MSFTNGP12.phx.gbl...
> will
AD:[vbcol=seagreen]
>

http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
>

http://www.gotdotnet.com/community/...t+S
erver

friendly[vbcol=seagreen]
or[vbcol=seagreen]
> is
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com