Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPUtility.SendRequestAccessToOwner method

NOTE: This API is now obsolete.

Sends a request for access in an e-mail message to the owner of the list or site.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static bool SendRequestAccessToOwner(
	SPWeb web,
	SPObjectType objType,
	string objId,
	string txtMessageBody


Type: Microsoft.SharePoint.SPWeb

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

Type: Microsoft.SharePoint.SPObjectType

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

Type: System.String

The ID of the list or site.

Type: System.String

A string that contains the message to communicate to the owner.

Return value

Type: System.Boolean
true if the e-mail is sent to the owner; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.