IFPCWebPublishingProperties2::ServicePrincipalName property

Applies to: desktop apps only

The ServicePrincipalName property gets or sets the service principal name (SPN) that will be used for requesting a Kerberos ticket when delegation using the Simple and Protected Negotiation (SPNEGO) protocol or Kerberos constrained delegation is allowed.

This property is read/write.

Syntax

HRESULT put_ServicePrincipalName(
  BSTR bstrServicePrincipalName
);

HRESULT get_ServicePrincipalName(
  BSTR *pbstrServicePrincipalName
);
' Data type: String

Property ServicePrincipalName( _
  ByVal bstrServicePrincipalName As BSTR, _
  ByVal pbstrServicePrincipalName As BSTR _
) As String

Property value

String that specifies the SPN that will be used for requesting a Kerberos ticket when delegation using the SPNEGO protocol or Kerberos constrained delegation is allowed.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. By default, in Forefront TMG Management, the SPN for an individual Web server is set to http/internal_site_name, and the SPN for a server farm is set to http/*. The SPN must match the SPN that is specified on the Delegation tab in the properties of the computer account of the Forefront TMG computer in Active Directory Users and Computers.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCWebPublishingProperties

 

 

Build date: 7/12/2010