Loading ...

Selectively binding to data depending on claims

 /5
0 (0votes)

protected void Page_Load(object sender, EventArgs e) { if (ClaimsVerification.ViewToolsPermission) { if (ClaimsVerification.PowerToolsPermission) toolList.DataSource = ToolUtility.AllTools(); else toolList.DataSource = ToolUtility.HandTools(); toolList.DataBind(); } }

Comments (no comments yet)

Top Posts