Compartilhar via


SendRequestAccessToOwner Method

The SendRequestAccessToOwner method of the SPUtility class sends a request for access in an e-mail message to the owner of the list or site.

Parameters

web   A Microsoft.SharePoint.SPWeb object that represents the site.

objType   A Microsoft.SharePoint.SPObjectType value that specifies whether the object is a list or a site.

objID   The ID of the list or site.

txtMessageBody   A string that contains the message to convey to the owner.

Return Value

true if the e-mail is sent to the owner; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security