# man > dmmp_path_group_id_get(3)

[dmmp_path_group_id_get(3)](https://www.chedong.com/phpMan.php/man/dmmppathgroupidget/3/markdown)   Device Mapper Multipath API - libdmmp Manual   [dmmp_path_group_id_get(3)](https://www.chedong.com/phpMan.php/man/dmmppathgroupidget/3/markdown)



## NAME
       dmmp_path_group_id_get - Retrieve path group ID.

## SYNOPSIS
       **uint32**___**t** **dmmp**___**path**___**group**___**id**___**get** **(struct** **dmmp**___**path**___**group** *****_dmmp_pg_**);**

## ARGUMENTS
       dmmp_pg     Pointer  of 'struct dmmp_path_group'.  If this pointer is NULL, your program will
                   be terminated by assert.

## DESCRIPTION
       Retrieve the path group ID which could be used to switch active path group via command:

       multipathd -k'switch multipath mpathb group $id'

## RETURN
       uint32_t.



March 2018                             dmmp_path_group_id_get              [dmmp_path_group_id_get(3)](https://www.chedong.com/phpMan.php/man/dmmppathgroupidget/3/markdown)
