SPFile.CanOpenFile method

Indicates whether the current user has permission to view the content of the file.

Overload list

  Name Description
Public method CanOpenFile(Boolean) Indicates whether the current user has permission to view the content of the file, specifying a level of access.
Public method CanOpenFile(Boolean, String) Indicates whether the current user has permission to view the content of the file, specifying a level of access and an output variable to receive an ETag.

Top

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace