Microsoft.Protocols.TestSuites.MS_AUTHWS.TestSuiteBase.GetFormsAuthenticationServiceUrl C# (CSharp) Method

GetFormsAuthenticationServiceUrl() private method

This method is used to get the Forms Authentication Service Url on the server.
private GetFormsAuthenticationServiceUrl ( ) : string
return string
        private string GetFormsAuthenticationServiceUrl()
        {
            string url = string.Empty;

            if (Common.GetConfigurationPropertyValue<TransportProtocol>("TransportType", this.Site) == TransportProtocol.HTTP)
            {
                url = Common.GetConfigurationPropertyValue("FormsAuthenticationUrlForHTTP", this.Site);
            }
            else
            {
                url = Common.GetConfigurationPropertyValue("FormsAuthenticationUrlForHTTPS", this.Site);
            }

            return url;
        }