From 6b82e1714d02a0b43f9b2ef73d6a15b21a3261ad Mon Sep 17 00:00:00 2001 From: Craig Jellick Date: Mon, 12 Feb 2018 11:40:05 -0700 Subject: [PATCH] add principalType to search --- apis/management.cattle.io/v3/authn_types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/authn_types.go b/apis/management.cattle.io/v3/authn_types.go index a12b0c0c..48a7bb64 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -64,7 +64,8 @@ type Principal struct { } type SearchPrincipalsInput struct { - Name string `json:"name" norman:"type=string,required,notnullable"` + Name string `json:"name" norman:"type=string,required,notnullable"` + PrincipalType string `json:"principalType,omitempty" norman:"type=enum,options=user|group"` } type ChangePasswordInput struct {