func (permissionset *SSOPermissionSet) GetAssignmentIdsByAccount(accountnr string) []string {
	result := []string{}
	for _, account := range permissionset.Accounts {
		if account.AccountID == accountnr {
			for _, assignment := range account.AccountAssignments {
				result = append(result, assignment.PrincipalID)
			}
		}
	}
	return result
}
//GetAssignmentIdsByAccount returns the assigment's principal IDs
GetAssignmentIdsByAccount returns the assigment's principal IDs
// GetAssignmentIdsByAccount returns the assigment ' s principal IDs
func (permissionset *SSOPermissionSet) GetAssignmentIdsByAccount(accountnr string) []string {
	result := []string{}
	for _, account := range permissionset.Accounts {
		if account.AccountID == accountnr {
			for _, assignment := range account.AccountAssignments {
				result = append(result, assignment.PrincipalID)
			}
		}
	}
	return result
}
func ( permissionset * SSOPermissionSet ) GetAssignmentIdsByAccount ( accountnr string ) [ ] string { result := [ ] string { } for _ , account := range permissionset . Accounts { if account . AccountID == accountnr { for _ , assignment := range account . AccountAssignments { result = append ( result , assignment . PrincipalID ) } } } return result }
GetAssignmentIdsByAccount returns the assigment's principal IDs
GetAssignmentIdsByAccount returns the assigment ' s principal IDs