Friendly (Posting/Channel).LastModifiedBy.Name
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Friendly (Posting/Channel).LastModifiedBy.Name




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 03:20 PM

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
 ________________________________________









[ Post a follow-up to this message ]



    Re: Friendly (Posting/Channel).LastModifiedBy.Name  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 03:20 PM

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...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
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
>  ________________________________________

>
>







[ Post a follow-up to this message ]



    Re: Friendly (Posting/Channel).LastModifiedBy.Name  
Angus Logan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 03:20 PM

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:
>

> MCMS Blog: [url]http://blogs.msdn.com/stefan_gossner/category/4983.aspx" target="_blank">http://download.microsoft.com/downl...egory/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...
+Server
> 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 
>
>







[ Post a follow-up to this message ]



    Re: Friendly (Posting/Channel).LastModifiedBy.Name  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 03:20 PM

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...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
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. 
>
 
>
[url]http://www.gotdotnet.com/community/usersamples/Default.aspx?ProductDropDownList=Content+Management
+Server" target="_blank">http://download.microsoft.com/downl...
+Server 
> WinNT://DOMAIN/Username; 
is[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Friendly (Posting/Channel).LastModifiedBy.Name  
Angus Logan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 03:20 PM

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:
>

> MCMS Blog: [url]http://blogs.msdn.com/stefan_gossner/category/4983.aspx" target="_blank">http://download.microsoft.com/downl...egory/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...
+Server
> 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] 
>
 
>
[url]http://www.gotdotnet.com/community/usersamples/Default.aspx?ProductDropDownList=Content+Management
+Server" target="_blank">http://download.microsoft.com/downl...
+Server 
friendly[vbcol=seagreen] 
or[vbcol=seagreen]
> is 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register