ScmState Data Type

This class represents the current state of the SCM-Manager.

Properties
name data type description
assignedPermissions array of string Field description
availablePermissions array of PermissionDescriptor since 1.31 Avaliable global permission
clientConfig ScmClientConfig Field description
defaultUserType string Field description
groups array of string Field description
repositoryTypes array of Type Field description
success boolean Field description
user User Field description
version string Field description

Example

{
  "assignedPermissions" : [ "...", "..." ],
  "availablePermissions" : [ {
    "description" : "...",
    "display-name" : "...",
    "value" : "..."
  }, {
    "description" : "...",
    "display-name" : "...",
    "value" : "..."
  } ],
  "clientConfig" : {
    "disableGroupingGrid" : true,
    "dateFormat" : "...",
    "enableRepositoryArchive" : true
  },
  "defaultUserType" : "...",
  "groups" : [ "...", "..." ],
  "repositoryTypes" : [ {
    "displayName" : "...",
    "name" : "..."
  }, {
    "displayName" : "...",
    "name" : "..."
  } ],
  "success" : true,
  "user" : {
    "active" : true,
    "admin" : true,
    "creationDate" : 12345,
    "displayName" : "...",
    "lastModified" : 12345,
    "mail" : "...",
    "name" : "...",
    "password" : "...",
    "type" : "...",
    "properties" : [ {
      "key" : "...",
      "value" : "..."
    }, {
      "key" : "...",
      "value" : "..."
    } ]
  },
  "version" : "..."
}