DOC: SetInfo Must be Called Explicitly For Secondary AUO Provider (189277)



The information in this article applies to:

  • Microsoft Site Server 3.0

This article was previously published under Q189277

SUMMARY

In order for SetInfo to affect a secondary AUO provider, it must explicitly name the provider.

MORE INFORMATION

The Site Server documentation for setting a user property contains the following text:
   
   Adding the following text to your ASP file will change the home page of
   the current Web site user, stored in the legacy secondary AUO provider,
   to www.microsoft.com/somebody.

   <%
   If not isObject(User) then
   Set User = Server.CreateObject("Membership.UserObjects")
   End if
   user("legacy").homePage = "www.microsoft.com/somebody"
   User.Setinfo
   %>

				
There is an error in the documentation. For the above code to work, SetInfo needs to be called as follows:
   User("legacy").Setinfo
				

Modification Type:MajorLast Reviewed:7/21/1999
Keywords:KB189277