This document is archived and information here might be outdated.  Recommended version.

ISecureLayer2.HasAuthentication Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IS > ISecureLayer2 Interface > ISecureLayer2.HasAuthentication Property
ArcGIS Developer Help

ISecureLayer2.HasAuthentication Property

Indicates if the layer is password protected.

[Visual Basic .NET]
Public ReadOnly Property HasAuthentication As Boolean
public bool HasAuthentication {get;}
HRESULT get_HasAuthentication(
  Boolean* HasAuthentication
HasAuthentication [out, retval]

HasAuthentication is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ISecureLayer2 Interface