ProviderType
Version: - stringSummary
Returns the type of the external provider.
Settings
The value is based on the Type field in External Authentication settings.
(Management center - Control panel - External Authentication - Edit provider - Type)
Examples
Outputting the template tag
@GetString("ProviderType")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ProviderType"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ProviderType");
}
Outputting the template tag
<!--@ProviderType-->
Check if string has a value
<!--@If Defined(@ProviderType)-->
Let's output this tag here: <strong><!--@ProviderType--></strong>
<!--@EndIf(@ProviderType)-->