SPSecurityEventProperties members

SharePoint 2013

Contains the properties of security events.

The SPSecurityEventProperties type exposes the following members.

  Name Description
Public property Cancel Obsolete. Gets or sets a Boolean value that indicates whether to cancel the event. (Inherited from SPEventPropertiesBase.)
Public property ErrorMessage Gets or sets the error message that Microsoft SharePoint Foundation displays when an event is cancelled. (Inherited from SPEventPropertiesBase.)
Public property EventType Gets the type of the event. (Inherited from SPEventPropertiesBase.)
Protected property EventUserToken Represents the current user at the time the specified event is fired. (Inherited from SPEventPropertiesBase.)
Public property GroupId Gets the identifier of the security group for this event.
Public property GroupName Gets the name of the security group for this event.
Public property GroupNewOwnerId Gets the identifier of the new owner of the security group for this event.
Public property GroupOwnerId Gets the identifier of the owner of the security group for this event.
Public property GroupUserId Gets the identifier of the user to whom this event applies.
Public property GroupUserLoginName Gets the login name of the user to whom this event applies.
Public property ObjectType Gets the type of the object that this event applies to.
Public property OriginatingUserToken Gets the token of the user who makes the request. (Inherited from SPEventPropertiesBase.)
Public property PrincipalId Gets the identifier of the user or security group that this event applies to.
Public property ReceiverData Gets a string that contains data about the event. (Inherited from SPEventPropertiesBase.)
Public property RedirectUrl Obsolete. A URL to redirect to when the status of SPEventReceiverStatus is CancelWithRedirectUrl. (Inherited from SPEventPropertiesBase.)
Public property RoleDefinitionId Gets the identifier of the role definition for this event.
Public property RoleDefinitionName Gets the name of the role definition for this event.
Public property RoleDefinitionPermissions Gets the security permissions of the role definition for this event.
Public property ScopeUrl Gets the relative URL of the object that this event applies to.
Public property SiteId Gets the site ID of the event. (Inherited from SPEventPropertiesBase.)
Public property Status Gets or sets the status of trapping the event. (Inherited from SPEventPropertiesBase.)
Public property UserDisplayName Gets the display name of the current user.
Public property UserLoginName Gets the login name of the current user.
Public property Web Gets an SPWeb object that represents the site where the event was triggered.
Public property WebFullUrl Gets the full URL of the current web where the event occurs.
Public property WebId Gets the identifier of the current web where the event occurs.
Top

  Name Description
Public method Dispose Disposes the SPSite and SPWeb objects that were opened.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top
Show: