:orphan:
# DMGetLabelIdIS
Get the `DMLabelGetValueIS()` from a `DMLabel` in the `DM`
## Synopsis
```
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMGetLabelIdIS(DM dm, const char name[], IS *ids)
```
Not Collective
## Input Parameters
- ***mesh -*** The `DM` object
- ***name -*** The label name
## Output Parameter
- ***ids -*** The integer ids, or `NULL` if the label does not exist
## See Also
[](ch_dmbase), `DM`, `DMLabelGetValueIS()`, `DMGetLabelSize()`
## Level
beginner
## Location
src/dm/interface/dm.c
## Examples
src/ts/tutorials/ex11_sa.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/interface/dm.c)
[Index of all DM routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)