---
title: TeamIdentifierMatchesCurrentProcess
framework: lightweightcoderequirements
role: symbol
role_heading: Structure
path: lightweightcoderequirements/teamidentifiermatchescurrentprocess
---

# TeamIdentifierMatchesCurrentProcess

A constraint that matches if a process has the same team identifier as the calling process.

## Declaration

```swift
struct TeamIdentifierMatchesCurrentProcess
```

## Topics

### Initializers

- [init()](lightweightcoderequirements/teamidentifiermatchescurrentprocess/init().md)
- [init(_:)](lightweightcoderequirements/teamidentifiermatchescurrentprocess/init(_:).md)
- [init(from:)](lightweightcoderequirements/teamidentifiermatchescurrentprocess/init(from:).md)

### Instance Methods

- [encode(to:)](lightweightcoderequirements/teamidentifiermatchescurrentprocess/encode(to:).md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [ProcessConstraint](lightweightcoderequirements/processconstraint.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Checking code requirements for running processes

- [SecTaskValidateForRequirement(task:requirement:)](lightweightcoderequirements/sectaskvalidateforrequirement(task:requirement:).md)
- [ProcessCodeRequirement](lightweightcoderequirements/processcoderequirement.md)
- [allOf(requirement:)](lightweightcoderequirements/allof(requirement:)-4k3ay.md)
- [anyOf(requirement:)](lightweightcoderequirements/anyof(requirement:)-vwhn.md)
- [ProcessConstraint](lightweightcoderequirements/processconstraint.md)
- [ProcessCodeSigningFlags](lightweightcoderequirements/processcodesigningflags.md)
- [ProcessConstraintBuilder](lightweightcoderequirements/processconstraintbuilder.md)
