Basic Script to log out from ACS

<script runat=”server”>
void MyLoginStatus_LoggedOut(Object sender, System.EventArgs e)
{  WSFederationAuthenticationModule acs = FederatedAuthentication.WSFederationAuthenticationModule;
acs.SignOut(true);}
</script>

 <asp:LoginStatus ID=”HeadLoginStatus” runat=”server” LogoutAction=”Refresh” OnLoggedOut=”MyLoginStatus_LoggedOut” LogoutText=”Log Out” /> ]


Share on Facebook
	
		

Leave a Reply

Your email address will not be published.