---
title: "setUserId Method"
canonical: https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.runtimeconfiguration.setuserid.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["4.4.25", "4.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# setUserId Method

**Applies to:** Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · **Archived documentation**
 
### Callable
 
- setUserId(userId:  string ) :  Promise &lt; void &gt;

- Sets the user unique identifier and move user files to the user folder.
   
#### Parameters

    - ##### userId: string 
  
        The user identifier that needs to be set for the product.

#### Returns Promise &lt; void &gt;
