Click or drag to resize
URLShortenerHelperGetAvailableURLShorteners Method
Creates a collection of available URL shorteners, and returns it.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
public static List<URLShortenerTypeEnum> GetAvailableURLShorteners(
	SiteInfoIdentifier siteIdentifier
)

Parameters

siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Determines which site's URL shortener settings are used. Provide null to use global settings.

Return Value

Type: ListURLShortenerTypeEnum
A collection of available URL shorteners.
Remarks
The collection contains URL shorteners that either require no configuration, or where the configuration is present.
See Also