Friday, September 12, 2008

How to cobrand WLID sign in page?

Assume using RPS6.0 http module, there is the steps.

Steps:
1. Add string IDs in Login UI section in MSM;
2. Add localized strings for each ID and each locale in Localization section in MSM;
3. Set propbag to load these cobranding strings:

LiveIdentity LiveID = HttpContext.Current.User.Identity as LiveIdentity;
Microsoft.Passport.RPS.RPSPropBag authPropBag = LiveID.CreateNewRPSPropBag();
authPropBag["WLContext"] = "mytitle$mysubtitle$myimage$myupselltext1$myupselltext2$myupselllearnmorelink";
WLIDSignInOutLiteral.Text = LiveID.GetTextTag("mysite", "nexus.passport-int.com/public/partner/rpsnetwork4.xml", authPropBag);

1 comment:

mary Brown said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Training in Chennai . or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. ES6 Training in Chennai