Check if the current user has access to a document
Namespace: umbraco
Assembly: umbraco (in umbraco)
Version: 1.0.2698.41384
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function HasAccess ( _ NodeId As Integer, _ Path As String _ ) As Boolean |
| C# |
|---|
public static bool HasAccess ( int NodeId, string Path ) |
| Visual C++ |
|---|
public: static bool HasAccess ( int NodeId, String^ Path ) |
Parameters
- NodeId
- System.Int32
The identifier of the document object to check
- Path
- System.String
The full path of the document object to check