Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetRequestAccess method of the SPUtility class returns a Boolean value that indicates whether the current user has access to the specified site or list.
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.
Return Value
true if the user has access to the site or list; otherwise, false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security