Share via


SPEventReceiverDefinition.Credential property

Gets or sets the credential for the SPEventReceiverDefinition object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Credential As Integer
    Get
    Set
'Usage
Dim instance As SPEventReceiverDefinition
Dim value As Integer

value = instance.Credential

instance.Credential = value
public int Credential { get; set; }

Property value

Type: System.Int32
Int32 object that represents the credential.

Remarks

SharePoint Foundation does not perform any authentication on its own. It relies on IIS or ASP.NET Framework to perform authentication.

This property is an optional field within an EventReceiver Element object.

See also

Reference

SPEventReceiverDefinition class

SPEventReceiverDefinition members

Microsoft.SharePoint namespace

Other resources

Forms Authentication in SharePoint Products and Technologies (Part 1): Introduction

Integrated Windows Authentication

Securing Clients