ServicePrincipalName Property of the IFPCWebPublishingProperties2 Interface

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.

[C++]
HRESULT put_ServicePrincipalName(
	BSTR bstrServicePrincipalName
);
HRESULT get_ServicePrincipalName(
	BSTR* pbstrServicePrincipalName
);

Parameters

pbstrServicePrincipalName

Pointer to a BSTR that is set on return to a string value specifying the SPN that will be used for requesting a Kerberos ticket when delegation using the SPNEGO protocol or Kerberos constrained delegation is allowed.

bstrServicePrincipalName

BSTR 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.

Return Value

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

[Visual Basic]
Property ServicePrincipalName 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.

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

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCWebPublishingProperties


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.