SPIisSettings.GetClaimsAuthenticationLoginRedirectionUrl method

Gets the Uri to which to redirect the client for claims based authentication logons.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetClaimsAuthenticationLoginRedirectionUrl As Uri
'Usage
Dim instance As SPIisSettings
Dim returnValue As Uri

returnValue = instance.GetClaimsAuthenticationLoginRedirectionUrl()
public Uri GetClaimsAuthenticationLoginRedirectionUrl()

Return value

Type: System.Uri
The value of AuthenticationRedirectionUrl if ClaimsAuthenticationRedirectionUrl is not set and only one SPAuthenticationProvider is configured. In all other cases the return value is the Uri of the claim authentication selection mode page.

Exceptions

Exception Condition
InvalidOperationException

UseClaimsAuthentication is false.

Remarks

If ClaimsAuthenticationRedirectionUrl contains a custom value then the administrator has configured a custom experience and therefore this property is always used.

See also

Reference

SPIisSettings class

SPIisSettings members

Microsoft.SharePoint.Administration namespace