component.getName()Get the name of the Component Object.
To get the name along with other settings, see Get component settings.
Promise<string>
A Promise that resolves to a string representing the name of a component.
Checks for authorization only