Tracking a user's identity

In quite a few applications, knowing which user is using your application is important. You might want to enable certain features if a certain user is logged in, or limit the data you're offering depending on the logged-in user's identity. In this recipe, you'll learn how easy it is to get to know which user is using your application. You'll learn how to verify and track a user's identity in your Silverlight application.

Getting ready

This recipe uses the AdventureWorks Lite database—a free database you can download from To follow this recipe, you need to have this database installed on an SQL Server instance you can access from your machine.

We're starting from the solution completed ...

Get Silverlight 4 Data and Services Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.