SPUtility.SendRequestAccessToOwner method
SharePoint 2013
NOTE: This API is now obsolete.
Sends a request for access in an e-mail message to the owner of the list or site.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)] public static bool SendRequestAccessToOwner( SPWeb web, SPObjectType objType, string objId, string txtMessageBody )
Parameters
- web
- Type: Microsoft.SharePoint.SPWeb
A Microsoft.SharePoint.SPWeb object that represents the site.
- objType
- Type: Microsoft.SharePoint.SPObjectType
A Microsoft.SharePoint.SPObjectType value that specifies whether the object is a list or a site.
- objId
- Type: System.String
The ID of the list or site.
- txtMessageBody
- Type: System.String
A string that contains the message to communicate to the owner.