[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getMemberNames](./bitburner.gang.getmembernames.md)
## Gang.getMemberNames() method
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
Get the names of all Gang members
Signature:
```typescript
getMemberNames(): string[];
```
Returns:
string\[\]
Names of all Gang members.
## Remarks
RAM cost: 1 GB