DOC: SetInfo Must be Called Explicitly For Secondary AUO Provider

ID: Q189277


The information in this article applies to:


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 

Additional query words:


Keywords          : prodsitesrv3 
Version           : WINNT:3.0
Platform          : winnt 
Issue type        : 

Last Reviewed: July 19, 1999