list locks

Lists the locks that are held in a stream. You can filter the locks by component and user. If you omit all arguments, the collaborating stream in the component that is identified by the current working directory is used. The output is formatted by the following information: the path source, which is 'L'ocal, 'R'emote, or 'U'nknown; the path, which is '' for paths that cannot be resolved; the lock owner's user ID; the component name; and the stream name.

Aliases:

list lock, list l

Usage: scm list locks [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] [-m/--maximum <arg>] [-s/--stream <arg>] [-c/--component <arg>] [-o/--owner <arg>]

Options:

-r, --repository-uri <arg> The URI that specifies the location of the repository.
-u, --username <arg> The user name for the repository.
-P, --password <arg> The password for the repository.
    --password-file <arg> File that contains the user's password.
    --certificate <arg> The file that contains the user's login certificate.
    --smartCard Use the connected smart card for authentication.
    --kerberos Authenticate with Windows user credentials using Kerberos/SPNeGO.
    --integratedWindows Authenticate with Windows user credentials using Integrated Windows Authentication.
-j, --json Enable JSON output.
-m, --maximum <arg> The maximum number of results that can be returned. The number must be greater than 0. If you omit this option, 10 is used by default. If you specify "all"/"-" then all possible results are displayed.
-s, --stream <arg> Specifies a stream. To specify a stream, use its name[@repo], alias, or UUID[@repo].
-c, --component <arg> The component to select. Specify the name, alias, or UUID of the component.
-o, --owner <arg> The user ID of the owner of the lock.


Example