> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HasRightsToBatchType

> Die Methode HasRightsForBatchType in der ABBYY FlexiCapture Web Services API überprüft, ob eine bestimmte Benutzerrolle Zugriffsberechtigungen für einen bestimmten Batch-Typ besitzt.

<div id="what-it-does">
  ## Was es tut
</div>

Prüft, ob die angegebene Benutzerrolle Zugriffsberechtigungen für bestimmte Batch-Typen hat.

<div id="definition">
  ## Definition
</div>

```
bool HasRightsForBatchType( int sessionId, int projectId, int batchTypeId, int roleType );
```

<div id="parameters">
  ## Parameter
</div>

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Typ</strong></p></td><td><p><strong>Beschreibung</strong></p></td></tr><tr><td><p>sessionId</p></td><td><p>int</p></td><td><p>Die ID der Verbindung zum Application Server</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>Projekt-ID</p></td></tr><tr><td><p>batchTypeId</p></td><td><p>int</p></td><td><p>Batch-Typ-ID.</p><ul><li><strong>0</strong> - „Standard“-Batch-Typ</li><li><strong>-1</strong> - prüft die Zugriffsberechtigungen für mindestens einen Batch-Typ.</li></ul></td></tr><tr><td><p>roleType</p></td><td><p>int</p></td><td><p>Benutzerrolle. Mögliche Werte finden Sie unter <a href="/de/flexi-capture/api/structures/t-role-type">RoleType</a>.</p></td></tr></tbody></table>

<div id="returned-value">
  ## Rückgabewert
</div>

| **Typ** | **Beschreibung**                                  |
| ------- | ------------------------------------------------- |
| bool    | Gibt an, ob Zugriffsberechtigungen verfügbar sind |
