Skip to content

ServerGroupByClientDbId

Samuel Grant edited this page Jun 23, 2020 · 2 revisions

Remarks

Returns the list of server groups that a client belongs to

Signature

Params

Name Type Description
cldbid int64 The client database ID of the user in question

Returns

Type Description
*status Query Response
[]ServerGroup List of server groups that the client belongs to
error

Example

qres, groups, err := client.ServerGroupsByClientDbId(token)
if err != nil || !qres.IsSuccess {
  // Handle error or rejected server query 
}
  

Clone this wiki locally