Knowledge Base

DOC: SetInfo Must be Called Explicitly For Secondary AUO Provider

Article ID: 189277

Article Last Modified on 7/21/1999


APPLIES TO


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
				

Keywords: KB189277