import { LightningElement } from 'lwc'; import Id from '@salesforce/user/Id'; export default class MiscGetUserId extends LightningElement { userId = Id; }
import { LightningElement } from 'lwc'; import Id from '@salesforce/user/Id'; export default class MiscGetUserId extends LightningElement { userId = Id; }