In the if statement you should place logic that checks whether the user is an admin or not. If the user is an admin then the GetFullDataMethodName
method will be called. This method should return the whole set of records from the database. If the user however is not an admin you should implement logic inside the GetLimitedDataMethodName
method which should extract and return a concrete set of data that meets you requirements.
Note that RadGrid.DataSource excepts an object. The only requirement is that the custom object to which the grid will be bound should implement the ITypedList/IEnumarable/ICustomTypeDescriptor
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed