Credential.id

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The id property of the Credential interface returns a DOMString containing the credential's identifier. This might be any one of a GUID, username, or email address.

Syntax

var id = Credential.id;

Value

A a DOMString containing the credential's identifier.

Specifications

Specification Status Comment
Credential Management Level 1 Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
id
Experimental
Chrome Full support 51Edge Full support 18Firefox Full support 60IE No support NoOpera Full support 38Safari Full support 13WebView Android Full support 51Chrome Android Full support 51Firefox Android Full support YesOpera Android Full support 41Safari iOS Full support 13.3Samsung Internet Android Full support 5.0

Legend

Full support  
Full support
No support  
No support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.