ProviderName

Version: - string  

Summary

Returns the name of the external provider.

Settings

The value is based on the name field in External Authentication settings.

(Management center - Control panel - External Authentication - Edit provider - Name)

Examples

Outputting the template tag

@GetString("ProviderName")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("ProviderName"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("ProviderName"); }

Outputting the template tag

<!--@ProviderName-->

Check if string has a value

<!--@If Defined(@ProviderName)--> Let's output this tag here: <strong><!--@ProviderName--></strong> <!--@EndIf(@ProviderName)-->