Get a group id by name

gl_get_group_id(group_name, ...)

Arguments

group_name

group name

...

passed on to gitlab()

Value

Integer. ID of the group if found.

Details

Number of pages searched is limited to (per_page =) 20 * (max_page =) 10 by default. If the group_name is an old group lost in a big repository (position > 200), gl_get_group_id() may not find the group id.

Examples

if (FALSE) {
gl_get_group_id("<<your-group-name>>")
}