Re: delete previous versions from entire document library, from a specific user

Tech-Archive recommends: Fix windows errors by optimizing your registry



{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hello,
\par
\par I modify your code at following line:
\par
\par If LCase(myFileVersion.CreatedBy.Sid) = LCase(User) Then
\par
\par to
\par
\par If LCase(myFileVersion.CreatedBy.Name) = LCase(User) Then
\par
\par And it deleted the version successfuly from my documents library. The String "User" is User name here, not a Sid. For the user in my test, I delete him from wss and windows both.
\par
\par Sincerely,
\par
\par Luke Zhang
\par
\par Microsoft Online Community Support
\par ==================================================
\par Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notifications.
\par
\par Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx.
\par ==================================================
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par
\par }

Relevant Pages

  • RE: New template for Portal Areas
    ... \par Microsoft Online Community Support ... \par This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: Help with configuration page
    ... \par What is the information which are not got saved, email address or proxy settings? ... \par Microsoft Online Community Support ... \par This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: Exchange 2000 and Inetorgpersonprevent.ldf
    ... Thanks for posting! ... microsoft.public.exchange2000.admin newsgroup. ... >Subject: Exchange 2000 and Inetorgpersonprevent.ldf ... >change: modify ...
    (microsoft.public.windows.server.migration)
  • Re: Scripting adding "Send As" right to AD Users and Computers
    ... And always try the MS KB first before posting. ... Would it be possible to use ADSI run run a report on each user object of who has "Send As" rights granted? ... you can modify it a bit to get the results you want. ... What if you used the AD Viewer program to find the correct 'AD name' and then wrote a script to show this to confirm. ...
    (microsoft.public.windows.server.scripting)
  • Re: Daylight Savings
    ... do not modify my responses...... ... responses" when you reply to them.. ... > Please stop posting in HTML. ...
    (microsoft.public.windowsxp.general)