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.
HRESULT put_ServicePrincipalName( BSTR bstrServicePrincipalName ); HRESULT get_ServicePrincipalName( BSTR* 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.
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.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property ServicePrincipalName As String
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.
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.
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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.