---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [clients](../index.md) / getWebDavRootPermission

# Function: getWebDavRootPermission()

> **getWebDavRootPermission**(`path`): `string` \| `undefined`

Defined in: [packages/b2c-tooling-sdk/src/clients/webdav-access-hint.ts:40](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b7ec7d4a1464ef7bbb6a5757ffd6f99a18a31bf6/packages/b2c-tooling-sdk/src/clients/webdav-access-hint.ts#L40)

Returns the Business Manager functional permission a user needs for a WebDAV path.

## Parameters

### path

`string`

Path relative to `/webdav/Sites` (e.g. `Cartridges/v1/app`)

## Returns

`string` \| `undefined`

The permission ID, or undefined for unknown roots
